init
This commit is contained in:
5
FOTF Toolbox/simulink2019b/bench/bp7_opts.m
Normal file
5
FOTF Toolbox/simulink2019b/bench/bp7_opts.m
Normal file
@ -0,0 +1,5 @@
|
||||
function y=bp7_opts(x)
|
||||
W=get_param(gcs,'ModelWorkspace'); assignin(W,'a',x(1))
|
||||
try, txy=sim('bp7_model'); y0=txy.yout; y=abs(y0(end)-exp(-1));
|
||||
catch, y=10; end
|
||||
end
|
Reference in New Issue
Block a user