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

48 visualizaciones (últimos 30 días)
I am using get(gcs, 'Handle') but it is showing invalid handle.

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Programmatic Model Editing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by