MATLAB command for "Rename all" into Model Workspace
Show older comments
I would like to programmatically rename parameters into Model Workspace and their references inside the Simulink model.
Is there a way to do it by using a MATLAB command in a script? The "Rename all" option in the Model Workspace by right-clicking on a parameter would do the job, but I still have not found an equivalent command in MATLAB.
Answers (1)
Animesh Gupta
on 11 Oct 2022
0 votes
Hello,
It is my understanding that you want to programatically interact with variables inside Model Workspace.
Please refer the following documentation that explains the procedure - https://www.mathworks.com/help/simulink/ug/create-edit-and-manage-workspace-variables.html
I hope it helps.
1 Comment
Costantino Taglialatela
on 12 Oct 2022
Categories
Find more on Create Large-Scale Model Components 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!