Neural Network Toolbox |
Code Efficiency
The functions sim
, train
, and adapt
all convert a network object to a structure,
before simulation and training, and then recast the structure back to a network.
This is done for speed efficiency since structure fields are accessed directly, while object fields are accessed using the MATLAB® object method handling system. If users write any code that uses utility functions outside of sim
, train
, or adapt
, they should use the same technique.
Functions | Argument Checking |
© 1994-2005 The MathWorks, Inc.