Hi,everybody! I recently encountered some problems using Simulink.
The specific questions as following:
Our recent project needs to do simulation and optimization using neural network algorithm with Simulink. We want to achieve automatic Simulink simulation. Specific process is as follows: click the Simulink start button, start the cycle, for example the deadline time(cut-off time) is set to 20s, when it comes to 20s,judge the performance index to see whether it has meeted certain conditions, if not, the cycle will not stop.It will start from 0s again, put the previous weights and output result feedback,then adjust the weights , then when it comes to 20s again, do the same judgement, until the result meets certain performance index conditions, the simulation ends. The judgement condition can be error which deduced by subtraction of theoretical value and desired value etc.. Finally, we need to save the controller parameters and the weights of output at the last time.
how to achieve this effect?
Thanks for your answers!