block_diagram does not have a parameter named 'SaveOperatingPoint'

i want use OperatingPoint on my simulink project
this is my matlab code
load_system('PID_Model2');
set_param('PID_Model2/LOW','Denominator','[1 11 32 25]');
set_param('PID_Model2','SaveFinalState','on','FinalStateName','myOperPoint','SaveOperatingPoint','on');
simOut1 = sim('PID_Model2','StopTime','5');
y1 = simOut1.ScopeData;
why i have this error message: block_diagram does not have a parameter named 'SaveOperatingPoint'
i use matlab 2018a version

回答(1 个)

In 2018a models do not yet have the SaveOperatingPoint parameter.

类别

在 帮助中心 和 File Exchange 中查找有关 Simscape 的更多信息

产品

版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by