How can I add the Check Static Range block to my model using add_block?
1 view (last 30 days)
Show older comments
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');
0 Comments
Accepted Answer
TAB
on 4 Jul 2018
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 Comments
More Answers (0)
See Also
Categories
Find more on Simulink Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!