MATLAB: How to use simulation output data as input for optimization (fmincon), and then the output of fmincon inputs to the simulation

fminconsimulink

how to use simulation output data as input for optimization (fmincon), and then the output of fmincon inputs to the simulation?

Best Answer

Hi,
have you tried using the matlabfunction in simulink? You could just integrate it into your model
Related Question