Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How can I add a test annotation to a simulink model using API

조회 수: 1 (최근 30일)
mPayns
mPayns 2020년 5월 4일
마감: MATLAB Answer Bot 2021년 8월 20일
Hello everyone,
I need to add a comment/annotation to simulink models using the API. I know how to do it manually but I am trying to automatize a process where some info will need to be added to the .slx file in the form of a annotation in the top view of the model.
Is this possible to do using an API? and if so, where can I find more info about it?
Thank you

답변 (1개)

Sai Sri Pathuri
Sai Sri Pathuri 2020년 5월 7일
You may use Simulink.Annotation object
note = Simulink.Annotation('Model/Your annotation');
note.position = [x,y]
Refer the following documentation for more details

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by