Products & Services Solutions Academia Support User Community Company

Learn more about SystemTest   

Setting Up File Dependencies

Use the File Dependencies table to indicate files or folders of files to be copied to the worker machines. If the worker machines need to access files that your test is dependent on, you can add the names of the files or directories of files as dependencies in the SystemTest software and they will be copied to each worker.

Note: There is overhead in copying files for each task. If there are files that can be accessed from a shared location by the worker machines, use Path Dependencies instead. For example, if you use a Simulink element that references a large model available from a shared network folder, you should set a path dependency to the directory containing your model.

File dependencies can be defined in the File Dependencies table, as described below, or can be defined in the user configuration that is set up in the Parallel Computing Toolbox software. If there are any file dependencies specified by the currently selected user configuration, they will also be listed in this table, but will appear in italics and are not editable here. File names you enter through the SystemTest software appear in regular text and are editable here.

To set up a file dependency:

  1. Click the File Dependencies tab within the Distributed tab.

  2. Double-click the entry row in the table (the top row).

    The row becomes a text field.

  3. Do either:

    • Type the full path and file or folder name in the field, and then press Enter.

    • Click the browse button in the entry row, browse to the file or folder, then click Open in the browse dialog box.

The dependency you entered then appears as a new row in the list.

The example below shows file dependencies for an M-file and a small model to be copied to the worker machines.

If you want to delete a file dependency, select it and click the Delete button. You can delete only dependencies added in the SystemTest software. You cannot delete any that are specified by the user configuration.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS