• 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. MATLAB crashing with SpectreRF Toolbox

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 126
  • Views 14656
  • 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

MATLAB crashing with SpectreRF Toolbox

doorscops
doorscops over 8 years ago

Hi, 

I'm trying to grab the data from my Spectre simulations into MATLAB using the SpectreRF Toolbox. After going through a lot of forum posts and the MatlabAN.pdf document in the toolbox folder, I think I've been able to set up all the environment variable properly. However, I'm still unable to actually execute the cds_srr() function successfully in MATLAB. I'll provide some background about the versions that I'm working with:

1. OS: CentOS 6.7 (64bit)

2. MATLAB: R2016b (64bit)

3. Spectre : 15.1.0 (32bit) (I got this info by typing in spectre -help at the terminal)

4. The MatlabAN.pdf document found in the Spectre installation folder says Product Version 6.1 June 2006. Not sure if this is an issue or not.

5. The matlab folder in the Spectre installation folder has a file cds_innersrr.mexglx and the rest are all.m files. It is my understanding that this is the 32bit version.

6. The same matlab folder listed in (5) also has a folder named 64bit. This has a file named cds_innersrr.mexa64 and the remainder are all .m files. I'm assuming this is the 64bit version (as the name suggests).

  • When I set the environment variables to point to the 32bit version of the SpectreRF toolbox (listed in (5) above), and I try to execute cds_srr(), I get the following error:

Undefined function or variable 'cds_innersrr'.

Error in cds_srr (line 16)
sig = cds_innersrr(dirname);

  • So I changed the environment variables to point to the 64bit version of the toolbox (listed in (6) above) and executed cds_srr(). This results in MATLAB crashing and the crash report says this at the end:

This error was detected while a MEX-file was running. If the MEX-file is not an official MathWorks function, please examine its source code for errors. Please consult the External Interfaces Guide for information on debugging MEX-files.

I'm trying to understand if it is at all possible to solve this issue without going through customer support. Is it a version issue? Any help/tips would be really helpful!

Thanks!

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    I believe I have all these versions on my laptop (I'm travelling at the moment). Let me check (might be in the morning) and I'll let you know if there's any issue (I'll check the version support matrix).

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    I believe I have all these versions on my laptop (I'm travelling at the moment). Let me check (might be in the morning) and I'll let you know if there's any issue (I'll check the version support matrix).

    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