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

3 ビュー (過去 30 日間)
Denis Tiliacos
Denis Tiliacos 2012 年 10 月 4 日
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 Center および File ExchangeSimulink Functions についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by