필터 지우기
필터 지우기

Operating point object is out of date

조회 수: 6 (최근 30일)
Hossein Rezazadeh
Hossein Rezazadeh 2018년 11월 1일
편집: Abhishek Varshney 2020년 10월 16일
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 ?
  댓글 수: 3
Hossein Rezazadeh
Hossein Rezazadeh 2018년 11월 1일
No I don't get this message. the model can run with no problem either in Simulink or on the command line.
Abhishek Varshney
Abhishek Varshney 2020년 10월 16일
편집: Abhishek Varshney 2020년 10월 16일
I also got the same 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.", when I was trying to Linearize the model using MPC Designer.
When I linearized the model first time I didn't get this type of error but when I tried to linearize the model using the same operating point file again, I got this error. I thought I have to Trim the Model again so I created a new operating point. I noted that the states were not the same. Then I got where I was wrong. Actually the simulink file was changed, I had copied the same model and pasted below the original one and used different controller. Though MPC blocks and the plant were not changed, it is treated as Plant modified.
Maybe you might have done some changes in the model that were independent of the MPC controller and the plant connected to it, and then tried to linearize with the same operating point file. So instead of that, just try Trimming again which will create a new operating file and then linearize the model.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Controller Creation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by