I have a system with number of blocks. I want to assign a variable X1 from the base workspace to a Simulink.Parameter object X in the model workspace. Further I want to change the variable X1, save, close the model and expect the parameter X to obtain this new value of X1 when the model is reloaded.
MATLAB: How to assign a variable from the base workspace to a Simulink.Parameter object in the model workspace in Simulink 7.2 (R2008b)
assiginmodelsimulinkworkspace
Related Question
- Assigning Simulink parameters values to the Model Workspace using command line or scripting
- Is a SimulinkGlobal Simulink.Parameter in Model Workspace gets optimized compared to when declared in Base workspace when using Embedded Coder 8.2 (R2012a)
- Constants and Matlab Workspace
- Find reason for this warning msg: Variable ‘hws’ originally saved as a handle cannot be instantiated as an object and will be read in as a uint32.
- How to access variables in the model workspace from model callback functions
- How to present a Simulink.Parameter object with all his properties in a Report(Report Generator)
Best Answer