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 ?