How do I get the handle of the current system in Simulink model?

32 次查看(过去 30 天)
I am using get(gcs, 'Handle') but it is showing invalid handle.

采纳的回答

Gaganjyoti Baishya
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 CenterFile Exchange 中查找有关 Simulink 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by