block_diagram does not have a parameter named 'SaveOperatingPoint'

7 views (last 30 days)
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

Answers (1)

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

Categories

Find more on Variable Initialization in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!