Working with MATLAB classes in the Level-2 MATLAB S-Functions
Show older comments
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
Accepted Answer
More Answers (1)
Craig
on 28 Apr 2014
0 votes
Categories
Find more on Configure Block Features for MATLAB S-Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!