block_diagram does not have a parameter named 'SaveOperatingPoint'
6 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Monika Jaskolka
on 22 Apr 2021
In 2018a models do not yet have the SaveOperatingPoint parameter.
0 Comments
See Also
Categories
Find more on Variable Initialization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!