how can I replace a block?
3 次查看(过去 30 天)
显示 更早的评论
I created a library (. Lib). I want to replace a block in my model with that of my library. How can we replace by a script? thank you
0 个评论
回答(1 个)
Kaustubha Govind
2013-5-6
2 个评论
Kaustubha Govind
2013-5-7
Achraf: Does it not work if you make sure that your library is loaded (use load_system) and use the full path to the new block with replace_block? Could you please provide the exact syntax that you're using?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!