How do I get the handle of the current system in Simulink model?
28 次查看(过去 30 天)
显示 更早的评论
I am using get(gcs, 'Handle') but it is showing invalid handle.
0 个评论
采纳的回答
Gaganjyoti Baishya
2020-6-24
You cannot use 'get' command to get handle of the system. Use get_param instead.
get_param(gcs, 'Handle')
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!