Selecting model through command window in Model based Design
3 次查看(过去 30 天)
显示 更早的评论
I am developing script (.m) to automate some modelling process. For that i want the command which makes it possible to select all the models in the .mdl file specified. I mean to know the command similar to (Cntrl+A) command in text.
I want to select all and then copy and paste it in another .mdl file.
0 个评论
回答(1 个)
Kaustubha Govind
2011-3-22
Why not use saveas to create a copy of a system? If you have to do this programmatically, I'm not aware of a straightforward technique, but a combination of find_system and add_block should do the job for you.
0 个评论
另请参阅
类别
在 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!