image thumbnail


version (1.28 KB) by John Giolma
Function for converting the output of Berkely Spice (.raw files) into a Matlab 6.x compatible format


Updated 03 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 (2022). rawspice6.m (, MATLAB Central File Exchange. Retrieved .

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

Inspired: Import SPICE Raw File

Community Treasure Hunt

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

Start Hunting!