rawspice6.m

Function for converting the output of Berkely Spice (.raw files) into a Matlab 6.x compatible format
2.7K Downloads
Updated 3 Oct 2001

No License

An m-file function for converting the output of Berkely Spice
simulations (.raw files) into a format suitable for manipulation in
Matlab (version 6.x). The ouputs are in the form of two cell
arrays of strings (header and variables) and one numeric
array (data):

'header' contains the header info generated by a Spice
simulation (Title, time stamp, type of simulation, data type,
number of variables, and number of outputs per variable).

'variables' contains one line per variable (variable #, name
and units)

'data' contains the numeric output of the simulation, each
column contains the data from one variable. The columns are
in the order identified in the variables string.

Tested under Matlab 6.0 and 6.1, and under Spice 3f4 only.

Cite As

John Giolma (2024). rawspice6.m (https://www.mathworks.com/matlabcentral/fileexchange/848-rawspice6-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Import SPICE Raw File

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0