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

1 vue (au cours des 30 derniers jours)
Kota Suzuki
Kota Suzuki le 4 Juil 2018
Réponse apportée : TAB le 4 Juil 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');

Réponse acceptée

TAB
TAB le 4 Juil 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 '

Plus de réponses (0)

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by