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

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by