Error while loading model/component from custom library in simulink file
4 次查看(过去 30 天)
显示 更早的评论
- 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)'
0 个评论
回答(1 个)
Kiran Felix Robert
2021-6-23
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Environment Customization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!