how can I replace a block?
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Kaustubha Govind
on 6 May 2013
2 Comments
Kaustubha Govind
on 7 May 2013
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?
See Also
Categories
Find more on Programmatic Model Editing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!