Selecting model through command window in Model based Design

1 回表示 (過去 30 日間)
Sunil Kallur Ramegowda
Sunil Kallur Ramegowda 2011 年 3 月 21 日
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.

回答 (1 件)

Kaustubha Govind
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.

カテゴリ

Help Center および File ExchangeProgrammatic Model Editing についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by