get property of selected line and hide name of a line

2 ビュー (過去 30 日間)
kei hin
kei hin 2019 年 2 月 15 日
コメント済み: kei hin 2019 年 2 月 15 日
I have a simulink model, and there are some lines in it, one of lines have name 'AA', and this line name is hide, when I cut the block and paste back which this line connected, the line name will be showed by itself, now I want hide line name again, how to do it? and how can I get property of a selected line, use 'get()'? how to get the line's handle?

回答 (1 件)

Mark Sherstan
Mark Sherstan 2019 年 2 月 15 日
Look at the guide here. There is documentation for copying and pasting with/without names, hiding block properties, etc... I would start by trying the following (located at the bottom of the attachted link):
If you have applied formatting to a block, signal line, or area in a model, you can copy the formatting and apply it to another model element. Examples of formatting include font changes, foreground and background color, and drop shadow effects.
1. Select the block, line, or area whose formatting you want to copy.
2. From the ellipsis menu, select Copy Formatting. The cursor becomes a paintbrush.
format_paint.png
3. Using the paintbrush, click each element that you want to copy the formatting to.
4. To cancel the paintbrush cursor, click a blank spot on the canvas or press Esc.
  1 件のコメント
kei hin
kei hin 2019 年 2 月 15 日
I use 2011b, I don't find 'copy fomatting'... and there is only one line have a name so I think I can not use this way to achieve it...

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

カテゴリ

Help Center および File ExchangeInteractive Model Editing についてさらに検索

タグ

製品


リリース

R2011b

Community Treasure Hunt

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

Start Hunting!

Translated by