Updated the regular expressions. The built-in assert in newer versions of matlab seems to mess things up too, so use of the assert file found here is necessary.
Updated the regular expressions. The built-in assert in newer versions of matlab seems to mess things up too, so use of the assert file found here is necessary.
Updated files can be found at:
http://users.soe.ucsc.edu/~jas/matlab-ng/
This works with the raw output of ngspice-19
4
18 May 2009
Read ngspice
Loads data from ngspice simulations into MATLAB
I modify the script to work on ngspice rework 18 the one that comes with fc10:
http://www.mediafire.com/?mj2jn3k52iz
I removed assert instructions to keep some backwards compatibility, and modify the way to read data + minor details.
At least for me ,it works ...
Hope it helps someone
4
02 May 2009
Read ngspice
Loads data from ngspice simulations into MATLAB
I guess the code doesn't wiork with ngspice rework 19.
e.g.
>> [data,labels] = ReadNGSpice('rawfile.raw')
??? Error using ==> ReadNGSpice at 51
Assertion failed.
rawfile.raw is read by ngnutmeg.