Dear All,
I have a simulink model, control by PID control, the coefficients of the PID
control calculated from m_file. I want to make the connection between the
simulink model and M-file by making loop. I want to know how I can connect
between the Simulink and matlab to run the simulation automatically after
receiving the coefficients of the PID from the matlab program. And feedback sent
again to matlab program to recalculate the new PID coefficient and then again
run the simulation automatically? And so on till reach the suitable dynamic
response.
Thanks in advance