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

10 vues (au cours des 30 derniers jours)
Hanif Ahmed
Hanif Ahmed le 24 Juin 2020
Commenté : Hanif Ahmed le 24 Juin 2020
I am using get(gcs, 'Handle') but it is showing invalid handle.

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by