• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. Failed to install Spectre/RF matlab toolbox

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 126
  • Views 3011
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Failed to install Spectre/RF matlab toolbox

candygg
candygg over 14 years ago

Hello, Thank you for viewing my post. I met a problem when first time use the Spectre/RF Matlab toolbox.

I use MMSIM6.2 and Matlab2010b(32bit), run on 32bit Linux.  Where&How should I set LD_LIBRARY_PATH and MATLABPATH?
I try to set them in ~/.cshrc file. The codes are appended to the existing .cshrc file as following:
setenv LD_LIBRARY_PATH `cds_root spectre`/tools/dfII/lib:`cds_root spectre`/tools/lib/
setenv MATLABPATH `cds_root spectre`/tools/spectre/matlab

Then I lauch matlab from home directory and type "getenv LD_LIBRARY_PATH" in matlab window to check the path. It looks ok.
The spectre paths are appended to matlab's own paths. Then I tried the matlab code:

rdir='XXXX/XXXX/XXX/spectre/schematic/psf'
datalist=cds_srr(rdir)

it reports ERROR as following:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
??? Invalid MEX-file '/usr/local/apps/cadence/spectre/current/tools/spectre/matlab/cds_innersrr.mexglx':
/usr/local/apps/cadence/spectre/current/tools/spectre/matlab/cds_innersrr.mexglx: undefined symbol:
mxCreateScalarDouble.

Error in ==> cds_srr at 16
sig = cds_innersrr(dirname);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I can only find one MEX file in the package for 32bit, that is cds_innersrr.mexglx, all the others are .m files.

"cds_srr" function use "cds_innersrr.mexglx" file, but looks like something wrong with it.
I have no idea how to open .mexglx file and how to check the problem. I appreciate your
help, Thank you!
Candygg

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 14 years ago
    Hi Candygg,

    The trouble is that you are using too old a version of MMSIM with a brand new version of Matlab.

    This problem was caused by us using a grandfathered function (I think that's the terminology that the Mathworks use) in the toolbox which got removed in Matlab 2009b.

    You're using a version of MMSIM from 3 years ago (something like that), yet using Matlab from this year.

    The problem was fixed in MMSIM711 ISR9 in July 2009 so you'll need to use a version later than that - I'd suggest using MMSIM7.2 or the latest release MMSIM10.1 (there was a jump in the version numbers to catch up with the year - so MMSIM72 is the release before 10.1 which was released in the last few weeks).

    Regards,

    Andrew
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 14 years ago
    Hi Candygg,

    The trouble is that you are using too old a version of MMSIM with a brand new version of Matlab.

    This problem was caused by us using a grandfathered function (I think that's the terminology that the Mathworks use) in the toolbox which got removed in Matlab 2009b.

    You're using a version of MMSIM from 3 years ago (something like that), yet using Matlab from this year.

    The problem was fixed in MMSIM711 ISR9 in July 2009 so you'll need to use a version later than that - I'd suggest using MMSIM7.2 or the latest release MMSIM10.1 (there was a jump in the version numbers to catch up with the year - so MMSIM72 is the release before 10.1 which was released in the last few weeks).

    Regards,

    Andrew
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information