Move Data Objects within workspaces
12 views (last 30 days)
Show older comments
How to Move data objects created/loaded in base workspace using .mat file into Model workspace to save them for permanant use with the simulink model.
Is there any command to move data objects (Simulink Parameter, Simulink Signals) between Base and Model workspaces?
0 Comments
Answers (1)
Kiran Felix Robert
on 9 Oct 2020
Hi Sourabh,
There is also another way to move data programmatically from model workspace to base workspace, you can also create new variable in model workspace and copy data from model workspace to MATLAB base workspace.
Refer to the document titled Model Workspace and specifically refer the section on ‘Manipulate Model Workspace Programmatically’ to have a background information.
The document Simulink.ModelWorkspace provides you some Object functions and a series of examples to achieve the same.
Kiran Felix Robert
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!