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

 채택된 답변

Xiaoning.Wang
Xiaoning.Wang 2021년 2월 22일

0 개 추천

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

  • 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개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

제품

릴리스

R2017b

질문:

2021년 2월 22일

댓글:

2021년 2월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by