Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

gensim

Generate 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 that simulates neural network net.

gensim(net,st) takes these inputs:

net

Neural network

st

Sample time (default = 1)

and creates a Simulink system containing a block that 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), you can use –1 for st to get a network that samples continuously.

Examples

[x,t] = simplefit_dataset;
net = feedforwardnet(10);
net = train(net,x,t)
gensim(net)

Introduced before R2006a

Was this topic helpful?