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

49 views (last 30 days)
I am using get(gcs, 'Handle') but it is showing invalid handle.

Accepted Answer

Gaganjyoti Baishya
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)


Community Treasure Hunt

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

Start Hunting!