Error while loading model/component from custom library in simulink file
Mostrar comentarios más antiguos
- I have created a custom library (have library of own models) and added it to 'simulink browser'
- I am trying to call the model/component using matlab command window using 'add_block' into simulink file
- But it throws an error 'There is no block named ...(the command along with component name)'
Respuestas (1)
Kiran Felix Robert
el 23 de Jun. de 2021
0 votos
Hi Swapnil,
You need to specify the complete path to the block in the add_block Command. Refer the documentation of the add_block command to see various ways of finding out the complete path to the block.
Categorías
Más información sobre Modeling en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!