Generate a simulink
block for neural network simulation
Syntax
gensim(net,st)
To Get Help
Type help network/gensim
Description
gensim(net,st)
creates a simulink
system containing a block which simulates neural network net.
gensim(net,st)
takes these inputs,
and creates a Simulink system containing a block which simulates neural network net
with a sampling time of st
.
If net
has no input or layer delays (net.numInputDelays
and net.numLayerDelays
are both 0) then you can use -1 for st
to get a continuously sampling network.
Examples
net = newff([0 1],[5 1]);
gensim(net)
[ Previous | Help Desk | Next ]