How can I add the Check Static Range block to my model using add_block?

1 回表示 (過去 30 日間)
Kota Suzuki
Kota Suzuki 2018 年 7 月 4 日
回答済み: TAB 2018 年 7 月 4 日
I am trying to add the Check Static Range block to my model using the add_block function, but I do not know the name of Check Static Range. The below code gives out an error. What is the block type name that I need to use to add the Check Static Range block to my model? Is there a list of the block names that I can use for the add_block function?
add_block('simulink/Model Verification/Check Static Range', 'untitled/checkstaticrange');

採用された回答

TAB
TAB 2018 年 7 月 4 日
add_block(sprintf('%s\n%s\n%s', 'simulink/Model', 'Verification/Check ', 'Static Range'), 'untitled/checkstaticrange')
Please note two line feeds and trailing space in 'Verification/Check '

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by