Simulink. Is it possible to get the area's position by programming?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Paula González Díaz
le 14 Juin 2020
Modifié(e) : Paula González Díaz
le 15 Juin 2020
Hi,
I would like to get the coordinates of a Simulink area element with Matlab programmig in the same way I can get it for subsystems (get_param(gcb, 'position') but since the area elements are format elements I don`t know if is it possible.
Thank you.
0 commentaires
Réponse acceptée
Mark McBroom
le 15 Juin 2020
handle = find_system(gcs, 'FindAll', 'on', 'type', 'annotation', 'AnnotationType', 'area_annotation', 'selected', 'on')
get_param(handle,'Position')
1 commentaire
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Create Large-Scale Model Components dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!