HiDear Prof.Johan Löfberg , i have a problem with Deepc simulation using yalmip in simulink.
it keeps solving more than once at each sampling time(Ts = 0.1) and so it takes a very long time(solver is called a 1000 times at 1 sampling time).
i'd very much appreciate it , if you could guide me with this problem.
i also use the line
set_param(gcb,'SampleTime','0.1');
before simulation in simulink.
run data collection file first ,run the simple line of code above and then open and run the simulink file