How to train a Neural Network which is placed in a simulink block diagram as a controller through script files?

2 次查看(过去 30 天)
I've placed an initial Neural Network in my Simulink using gensim command. Now it's the time for training the network. On the other hand I've written my training algorithm code in the editor. On the training loop I have to call simulink system using sim command, process data and then update the weights and biases and go on. One way to do this is using set_param command to change the weights. But I need to write my algorithm adaptive to any network structure, I talk about number of hidden layers and neurons, without any need to change the training code. Any one has any idea about doing that?
I use Matlab R2012b engine.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by