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'.
显示 更早的评论
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
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink Design Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!