Display the tag of a Simulink block from the command window ?

조회 수: 3 (최근 30일)
Hi,
I would like to display the tag of a Simulink block from the command window.
It amounts to do that :
right click on the block -> Block Properties -> Block Annotation
-> Select %<Tag> in Block property tokens -> click on the ">>" button
and Apply
Thank you for answering me.

채택된 답변

Kaustubha Govind
Kaustubha Govind 2012년 10월 4일
Try:
set_param('path/to/block', 'AttributesFormatString', '%<Tag>')

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by