Neural Network Toolbox    

Block Generation

The function gensim generates block descriptions of networks so you can simulate them in Simulink.

The second argument to gensim determines the sample time, which is normally chosen to be some positive real value.

If a network has no delays associated with its input weights or layer weights, this value can be set to -1. A value of -1 tells gensim to generate a network with continuous sampling.


  Control Systems Blocks Example