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

34 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)

Categories

Find more on Simulink in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!