Rank: 236661 based on 0 downloads (last 30 days) and 0 file submitted
photo

Alan

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Alan View all
Updated File Comments Rating
29 Jul 2014 ConvertTDMS (v10) Import or convert a LabView TDMS file into the MATLAB workspace or a mat file Author: Brad Humphreys

Fails at

Error in convertTDMS>getChannelInfo (line 754)
index.(obname).arrayDim(ccnt)=index.(obname).arrayDim(ccnt-1);

because ccnt = 1

06 Nov 2012 Fast Import of Compressed Binary .RAW Files Created with LTspice Circuit Simulator Loads .raw simulation files created with LTspice (a free circuit simulation tool). Author: Paul Wagner

This failed for me

LTspice2Matlab('test.raw')
Error using LTspice2Matlab (line 212)
Format error in LTspice file "/Users/acurtis/Desktop/test.raw" ... Wrong number of
columns in the variable define section

I created the raw file from an example circuit netlist I got from

http://www.ngspice.com/examples.php

I chose the "RC filter AC response" and copied the netlist to a file. I ran ngspice with the command

ngspice --batch --rawfile="test.raw" "rc.net"

and then in MATLAB

LTspice2Matlab('test.raw')

06 Nov 2012 Run ngspice simulation and import rawfile Runs ngspice with a given netlist and loads the simulation output (rawfile) into MATLAB. Author: Iain Robinson

This failed for me with this error.

Error using ngspice (line 135)
All expected data have been read, but there still appears to be some data remaining in the file:

I was running an example .net file I got from

http://www.ngspice.com/examples.php

I selected the "RC filter AC response" circuit and copied the netlist to a file and used that from MATLAB.

25 Oct 2012 Scalable Vector Graphics (SVG) Export of Figures Converts 3D and 2D MATLAB plots to the scalable vector format (SVG). Author: Juerg Schwizer

The code

figure
for ii=1:10
h(ii)=text(0,ii/10,'QWERTYUIOPqwertyuiop1234567890');
set(h(ii),'fontname','courier')
set(h(ii),'fontsize',(ii)+5);
end
print 'testpc.eps' -depsc
plot2svg('test.svg')

produces different results on OS X and Windows.

In both cases, the eps file contains the fonts at the right sizes, i.e. 6,7,8,9,10,11,12,13,14,15 pt

In Windows the font sizes in the svg file are 6,7,8,8,9,10,11,12,13,14 (8 is repeated and every number above 8 is off by 1 point.)

In OS X the font sizes in the svg file are
8,9,10,11,12,14,15,16,18. All way off.

Contact us