Neural Network Toolbox Previous page   Next Page

Importing and Exporting Training Data

The data that you generate to train networks exists only in the corresponding plant identification or controller training window. You may want to save the training data to the workspace or to a disk file so that you can load it again at a later time. You may also want to combine data sets manually and then load them back into the training window. You can do this by using the Import and Export buttons. The following demonstration leads you through the import and export processes. (We use the NN Predictive Control window for this demonstration, but the same procedure applies to all of the controllers.)

  1. Repeat the first five steps of the NN Predictive Control demonstration. Then select Accept Data. The Plant Identification window should then be open, and the Import and Export buttons should be active.
  2. Select the Export button. This causes the following window to open.

  1. Select Export to Disk. The following window opens. Enter the filename testdat in the box, and select Save. This saves the training data structure to disk.

  2. Now let's retrieve the data with the import command. Select the Import button in the Plant Identification window.This causes the following window to appear. Follow the steps indicated on the following page to retrieve the data that you previously exported. Once the data is imported, you can train the neural network plant model.


Previous page  Importing and Exporting Networks Summary Next page

© 1994-2005 The MathWorks, Inc.