MATLAB Answers

Operating point object is out of date

2 views (last 30 days)
Hossein Rezazadeh
Hossein Rezazadeh on 1 Nov 2018
Edited: 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

Walter Roberson
Walter Roberson on 1 Nov 2018
When you read the model are you told there are broken library links?
Hossein Rezazadeh
Hossein Rezazadeh on 1 Nov 2018
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.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by