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

Respuestas (0)

Categorías

Más información sobre Simulink Design Optimization en Centro de ayuda y File Exchange.

Preguntada:

el 12 de Dic. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by