How to get properties of Area Annotation in Matlab R2015a from Command Prompt?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Ami Shah
el 23 de Dic. de 2015
Respondida: Monika Jaskolka
el 31 de Ag. de 2019
I want to get ‘AreaColor’ and ‘Border’ properties of ‘Area’ from command prompt. How can I get ‘Area annotation’ used in Simulink model? There is no help about this in help document.
Please please help me.
0 comentarios
Respuesta aceptada
Image Analyst
el 23 de Dic. de 2015
Did you try hitting the tab key after the dot? Like when you're typing >> Area.[tab key]. It should bring up a list of properties and methods available to that object.
Or you can try methods(Area) as a separate command.
Just a guess since I don't use Simulink, only MATLAB.
2 comentarios
Walter Roberson
el 23 de Dic. de 2015
It is not clear to me that the new Simulink Area Annotations have a corresponding block or function call. I can see from the documentation that they exist but not how they are implemented.
Más respuestas (1)
Monika Jaskolka
el 31 de Ag. de 2019
a = find_system(gcs, 'FindAll', 'on', 'Type', 'Annotation', 'AnnotationType', 'area_annotation')
Valid properties of annotations are listed here: https://www.mathworks.com/help/simulink/slref/simulink.annotation.html
0 comentarios
Ver también
Categorías
Más información sobre Interactive Model Editing en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!