Read ngspice
Sin licencia
% [Data, Labels] = ReadSpice(filename)
%
% Data is an MxN matrix containing the values of the M variables
% at each of the N datapoints.
%
% Labels is a M-vector with the Mth label corresponding to the
% Mth row in Data
%
% This script has been tested on raw (-r Out.raw) data from
% ngspice-rework17.
%
% Usage example:
% [data, labels] = ReadNGSpice('out.raw');
% labels (to view how the data is labeled)
% plot(data(1,:), data(6,:));
% title('Oscillator Output (V)');
Citar como
Madison McGaffin (2024). Read ngspice (https://www.mathworks.com/matlabcentral/fileexchange/23095-read-ngspice), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > External Language Interfaces > Other languages > SPICE files >
- Physical Modeling > Simscape Electrical > Electrical Block Libraries > Semiconductors and Converters >
Etiquetas
Agradecimientos
Inspiración para: Read ngspice MOD, Run ngspice simulation and import rawfile
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |