simulink subsystem replacement issue
Show older comments
when i run the following script, nothing happened with out any error, any one can help, thanks in advance.
open_system('untitled20230208');
open_system('untitled20230713');
replace_block('untitled20230208','untitled20230208/OldSub','untitled20230713/NewSub');
set_param('untitled20230713','SimulationCommand','Update');
Accepted Answer
More Answers (0)
Categories
Find more on Programmatic Model Editing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!