how to use Simulink API to create Area by M cripts method?

3 ビュー (過去 30 日間)
Xiaoning.Wang
Xiaoning.Wang 2021 年 2 月 22 日
コメント済み: Xiaoning.Wang 2021 年 2 月 22 日
I want to set the Area in specifical Position.

採用された回答

Xiaoning.Wang
Xiaoning.Wang 2021 年 2 月 22 日
add_block('built-in/Area',[AreaPath,'/area1'],'Position',[120,100,230,200])
Note: AreaPath is your specifical path
AreaPath= 'TEST_WaTCH_F03_Gestion_des_Modes_Thermiques/TEST_WaTCH_F03_Gestion_des_Modes_Thermiques/Subsystem/TEST_WaTCH_F03_Gestion_des_Modes_Thermiques/WaTCH_DTC'
area1: add NEW area Name
  1 件のコメント
Xiaoning.Wang
Xiaoning.Wang 2021 年 2 月 22 日
  • add_block('built-in/Note','model/This is a note.','BackgroundColor','yellow') 创建具有黄色背景的注释。
  • add_block('built-in/Area','model/This is an Area.','Position',[120,100,230,200]) 在指定位置创建区域注释。

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by