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

1 Ansicht (letzte 30 Tage)
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.

Antworten (0)

Kategorien

Mehr zu Sequence and Numeric Feature Data Workflows finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by