MATLAB Answers

0

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

Asked by Suzuki Kota on 4 Jul 2018
Latest activity Answered by TAB
on 4 Jul 2018
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

Sign in to comment.

Tags

Products

1 Answer

Answer by TAB
on 4 Jul 2018
 Accepted Answer

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

Sign in to comment.