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'.

1 回表示 (過去 30 日間)
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 件)

カテゴリ

Help Center および File ExchangeManual Performance Optimization についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by