I want to acces the workspace of a model I'm running with the sim comment. I want to set a parameter with assigning or setparam. How can I refer to that workspace? (this should all be performed insite a parfor loop that executes the external model several times with this parameter changing every time the loop is executed)
MATLAB: Acces workspace of model using sim command in parfor loop
assigninparforsetparamsimsimulink
Related Question
- Does ASSIGNIN assign a value in the MATLAB base workspace rather than mask workspace when setting a value within the mask initialization callback in Simulink 7.0 (R2007b)
- Bring To Workspace variables from Simulink to base workspace from a matlab function
- How to set the source workspace to “caller” when using a the SIM command from a function in Simulink 7.4 (R2009b)
Best Answer