block_diagram does not have a parameter named 'SaveOperatingPoint'

8 次查看(过去 30 天)
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 个)

Monika Jaskolka
Monika Jaskolka 2021-4-22
In 2018a models do not yet have the SaveOperatingPoint parameter.

类别

Help CenterFile Exchange 中查找有关 Manual Performance Optimization 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by