Table Of Contents

Importing and Managing Batches of Model Parameters in the Workspace

Last Modified: June 10, 2021

Use the Model Parameter Manager tool to import and apply model parameter values defined in external .m or .txt files to a model.

Before you begin, verify that you have the tool in your Workspace Tools menu. If you do not, refer to Adding a Standard or Custom Tools Menu Item. Maintaining model parameter values in external files allows you to quickly switch between batches of test parameters without manually entering the values. This tool is also useful for managing multiple parameters from a single interface.

In order to set the value of a parameter, you must import or calculate the new values and then apply the new values.

  1. Deploy the system definition with models to the target.
    spd-note-note
    Note  

    You can only apply new values to deployed systems.

  2. In the Workspace, select Tools»Model Parameter Manager to launch the tool.
    spd-note-note
    Note  

    The name of this menu item might differ depending on how you named it in the Tools Properties dialog box.

  3. In the Model Parameter Manager tool, click Select Files.
  4. In the Select Calibration Files to Load dialog box, click Add File.
  5. Browse to the file(s) that contain parameter values, and click OK.
    spd-note-note
    Note  

    You can import parameter values from multiple model parameter files. However, only one file can define a specific parameter. Otherwise, VeriStand requires you to select the value to apply.

  6. In the Select Calibration Files to Load dialog box, click OK to import the values from the files as new values.
  7. In the Model Parameter Manager, review the New Value column for errors.
    spd-note-note
    Note  

    If an error glyph ( ) appears next to a Parameter, ensure your files use supported syntax.

  8. Double-click a file in the Selected Files column to edit the contents of the file.
  9. Click Calc. New Values to read or calculate new parameters values from files you loaded.
    spd-note-note
    Note  

    This is useful for resetting parameters to their initial values.

  10. Click Apply New.

Recently Viewed Topics