I am using MATLAB 2009a/2012a and MMSIM 10.11 and cadence virtuoso IC22.214.171.1240.11
I build a small low pass filter and ran the simulation in ADE and tried to read using MATLAB Spectre Toolbox. Its not working.
The error is attached as follows. I have referred to Matlabspectre.pdf and set the appropriate environments in matlab. Dont know why?
mydir =/home/njacob2/simulation/design1_rcresponse/spectre/schematic/psf>> nevin=cds_srr('mydir')??? Undefined function or method 'cds_innersrr' for input arguments oftype 'char'.Error in ==> cds_srr at 16 sig = cds_innersrr(dirname);
If you are using 64 bit version of the tool then please set the LD_LIBRARY_PATH as mentioned by Andrew in the post you referred i.e. -
setenv LD_LIBRARY_PATH `cds_root spectre`/tools/lib/64bit:$LD_LIBRARY_PATH
but you need to keep in mind (as mentioned by Andrew) that if running on a 32-bit machine (or running 32 bit matlab), you'll need to miss out the 64bit part of the path. You may also refer to the following COS Solution for more details when trying to run the SpectreRF/Matlab toolbox on a 64 bit OS -
and see if this helps.
Also, I see one more thing but not sure if that is the case i.e. you are setting -
mydir = '/home/njacob2/simulation/design1_rcresponse/spectre/schematic/psf'
and then using, e.g.,
datalist = cds_srr(mydir)
or some other command like that. I see that you have used -
Please remove these single inverted commas and then try. I tested this at my end and gets the same error if I use these single inverted commas.