How to display the subsystem priority or tag name using M-Script

I have a problem in diaplaying the Tag names like priprity of the blocks using Script. can any one Help on this issue

3 件のコメント

Kaustubha Govind
Kaustubha Govind 2011 年 10 月 4 日
Your question isn't entirely clear. Do you need to get the sorted order of a given block using a MATLAB command, or do you need a MATLAB command that does the equivalent of Format>Block Displays>Sorted Order?
Krishna
Krishna 2011 年 10 月 4 日
You are not able to understand my question you are completly confused. its not about sorted order etc.. its about Accessing block annotation tag using Script and Display the block tag name under it.
Krishna
Krishna 2011 年 10 月 5 日
I got the Answer Kaustuba. Thanks for ur help

サインインしてコメントする。

 採用された回答

Fangjun Jiang
Fangjun Jiang 2011 年 10 月 4 日

1 投票

set_param(Block,'AttributesFormatString','%<Tag>')

3 件のコメント

Krishna
Krishna 2011 年 10 月 4 日
Triggered_blks = find_system(gcs,'FollowLinks', 'on', 'LookUnderMasks', 'All', 'BlockType', 'TriggerPort')
Triggered_Priority = get_param(Triggered_blks, 'priority')
Triggered_getTagName = get_param(Triggered_blks,'Tag')
This is done last year but I need to Acess block Annotation tab And Set %<Tag> using Script.
Fangjun Jiang
Fangjun Jiang 2011 年 10 月 4 日
See update.
Krishna
Krishna 2011 年 10 月 5 日
Thanks Fangjun. It helped me a lot.:)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSubsystems についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by