Working with MATLAB classes in the Level-2 MATLAB S-Functions
Ältere Kommentare anzeigen
Hello,
I need an access to methods and properties of the Matlab class object (not related to axis) in the Level-2 MATLAB S-Functions. Methods and properties are used through the setup (i.e. port types) and simulation process.
Questions:
1. I need to construct an object inside an s-function. Inside what S-Function Callback Method is it better to do?
2. What are the legal ways to pass an object handle to the Lev2 S-function? Via the DialogPrm().Data?
3. What is the best way to pass object handle to the Callback Methods?
Kind regards,
Timur
Akzeptierte Antwort
Weitere Antworten (1)
Craig
am 28 Apr. 2014
0 Stimmen
Kategorien
Mehr zu Configure Block Features for MATLAB S-Functions finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!