MATLAB Answers

0

Operating point object is out of date

Asked by Hossein Rezazadeh on 1 Nov 2018
Latest activity Edited by Hossein Rezazadeh on 1 Nov 2018
I have a Simulink model called "Plant"and when I run the following scrpit :
plant_mdl = 'Plant'; op = operspec(plant_mdl); [op_point, op_report] = findop(plant_mdl,op);
I get the error :"The model Plant has been modified and the operating point object is out of date. Update the object by calling the function update on your operating point object."
I tried op=update(op). I made sure the model has no unsaved changes , even saved The model in other names and tried the script with different model names to avoid possible shadowing problem. It keeps complaining. Does any one know what could be the reason ?

  2 Comments

When you read the model are you told there are broken library links?
No I don't get this message. the model can run with no problem either in Simulink or on the command line.

Sign in to comment.

0 Answers