Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

Matlab Neural networks: why use sim?

Asked by Sree Srinivasan on 31 Oct 2012
After the network has been trained, there seem to be two different ways to utilize the network to make predictions:

(1) test_outputs = net(test_inputs)

(2) test_outputs = sim(net, test_inputs)

What is the difference, and which is better?

0 Comments

Sree Srinivasan

Tags

Products

No products are associated with this question.

1 Answer

Answer by Greg Heath on 31 Oct 2012
Accepted answer

The first is newer, so I guess they want you to use it.

I don't know why it was changed.Probably to take some of the load off of sim.

help sim

doc sim

Greg

0 Comments

Greg Heath

Contact us