Renaming subsystems through python script (Editing .mdl file through python script)

I have simulink block which has many subsystems. I am trying to rename some of these subsystems using python script but when I open the .mdl file it is getting corrupted and all subsystems are getting deleted. how do I do it?

Answers (0)

Products

Release

R2015b

Asked:

on 25 Jan 2020

Edited:

on 25 Jan 2020

Community Treasure Hunt

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

Start Hunting!