• 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 SKILL
  3. MATLAB Results Initialization Code

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 13233
  • 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 Results Initialization Code

Curtisma
Curtisma over 5 years ago

Hello:

I'm using the Cadence Maestro to MATLAB interface and can open MATLAB using the button in the results view.  I'd like to be able to specify a MATLAB command to run within MATLAB when it starts after the initialization of the adeInfo object is complete.

Does the button to start MATLAB from the results view have a SKILL callback I can look at to see how it initializes the Cadence-MATLAB interface?  If not, should I get information from support on how to initialize it so I can write my own initialization SKILL code for it?

Would it be possible to override the callback for the MATLAB button so that the user can still use that button instead of a custom menu selection?

Thanks,

Curtis

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago

    Hi Curtis,

    I don't think this is possible currently, either by changing the callback for the button (which is defined at the C++ level) or by having a mechanism to insert code in the MATLAB script that is launched (I can see the C++ method provides an argument for initialisation code after the creation of the adeInfo object, but it's not used when launched from the M button).

    I did wonder whether a startup.m script could be created and then adding a listener (e.g. with addlistener) but this is triggered by a class property changing, not by a variable. I'm not aware of any trigger that can be called in Matlab when a variable changes (you can get the debugger to stop when a variable changes, but that's not what you want here).

    So this will need you to contact customer support and an enhancement request to be filed.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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