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

48 visualizzazioni (ultimi 30 giorni)
I am using get(gcs, 'Handle') but it is showing invalid handle.

Risposta accettata

Gaganjyoti Baishya
Gaganjyoti Baishya il 24 Giu 2020
You cannot use 'get' command to get handle of the system. Use get_param instead.
get_param(gcs, 'Handle')

Più risposte (0)

Categorie

Scopri di più su Programmatic Model Editing in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by