The sim command encountered an error when setting the model parameter value defined by the parameter object 'myParam(:,2)', the error was: 'Attempt to modify a read-only model workspace'.
Show older comments
Hi all!
I'm using the response optimization tool in Simulink. I'm tryign to speed thigns up a bit.
I've managed to get the tool to run parallel on my local machien but I also have access to a cluster machine.
When I send work to the cluster the optimizer does iterations in the window but nothing changes.
I believe this is linked to the error in the MATLAB command window
"the sim command encountered an error when setting the model parameter value defined by the parameter object 'mYParam(:,2)', the error was: 'Attempt to modify a read-only model workspace'."
I've tried changign the workspace from ebign in the mdoel to defiend by a .mat file.
Anything else to think of? How do I make the workspace read/write rather than jsut read?
Thanks in advance
Answers (0)
Categories
Find more on Simulink Design Optimization 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!