Table Of Contents

Changing the Initial Value of Model Parameters

Last Modified: June 10, 2021

Configure VeriStand to apply initial values for model parameters from a .txt file when a system definition file deploys.

Before you begin, format the initial values in the .txt file to VeriStand supported syntax. By default, the initial values of parameters are the values that were compiled into the model. However, VeriStand can automatically apply parameter values from a file when you deploy the system definition file. You can switch initial parameter values between tests without recompiling models.
  1. Launch the VeriStand Editor.
  2. In the Project Files pane, double-click a system definition file (.nivssdf). System Explorer opens.
  3. Click Targets»Controller»Simulation Models in the configuration tree.
  4. On the Model Configuration page, click Apply parameter values from a file at initialization.
  5. Configure the paths to the parameter file and any dependent files.

    You can only select one model parameter file for VeriStand to apply to models on the target that contain matching parameters. Use the main model parameter file to call subscripts saved in separate files.

  6. Save the system definition file.

Recently Viewed Topics