- Model name: This is created every time when a new model is created. This can be changed by the user.
- Handle to the model: Every model has a unique number called handle.When the model is created from command line using new_system() function, it returns a handle to the model. When a model already exist, you can open the model and read its handle using get_param('ModelName','handle').
unique Simulink model identifiers
4 views (last 30 days)
Show older comments
Hello all,
When a new model is created in Simulink, is there some unique Identifier also created that can be read ?
Best Regards,
Adrian
0 Comments
Accepted Answer
TAB
on 2 Jul 2012
Edited: TAB
on 2 Jul 2012
When a model is create, there can be 2 unique identifier for the model:
Try
>> mdlh = new_system;
on command window.
----------------------
Is anything else you want ?
0 Comments
More Answers (0)
See Also
Categories
Find more on Programmatic Model Editing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!