How to get properties of Area Annotation in Matlab R2015a from Command Prompt?
조회 수: 3 (최근 30일)
이전 댓글 표시
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
채택된 답변
Image Analyst
2015년 12월 23일
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
Walter Roberson
2015년 12월 23일
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.
추가 답변 (1개)
Monika Jaskolka
2019년 8월 31일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!