How do I get the handle of the current system in Simulink model?
49 views (last 30 days)
Show older comments
Hanif Ahmed
on 24 Jun 2020
Commented: Hanif Ahmed
on 24 Jun 2020
I am using get(gcs, 'Handle') but it is showing invalid handle.
0 Comments
Accepted Answer
Gaganjyoti Baishya
on 24 Jun 2020
You cannot use 'get' command to get handle of the system. Use get_param instead.
get_param(gcs, 'Handle')
More Answers (0)
See Also
Categories
Find more on Model, Block, and Port Callbacks 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!