• 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
  • candygg
    candygg over 14 years ago

     Thank you very much, Andrew! It is very helpful! Otherwise, I might waste lots of time trying to figure it out. 

    BTW: Please ignore the email sent by me on "The Designer's Guide Community".

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • candygg
    candygg over 14 years ago

     Thank you very much, Andrew! It is very helpful! Otherwise, I might waste lots of time trying to figure it out. 

    BTW: Please ignore the email sent by me on "The Designer's Guide Community".

    • 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