Setting Model Parameters
- Updated2025-01-27
- 2 minute(s) read
Setting Model Parameters
Use the VeriStand Editor, Workspace, Model Parameter Manager, and Stimulus Profile Editor to set the values of model parameters.
Goal | Task |
---|---|
Change the initial value of model parameters | Configure VeriStand to apply initial values for model parameters from a .txt file when a system definition file deploys. |
Manually set individual parameters at run time. | Use model calibration controls in the Workspace to view and modify the values for any model parameters in the system definition. |
Lock model parameters at run time | Lock a parameter in the Workspace to prevent its value from updating. |
Declare temporary variables in a model parameter file | Declare temporary variables within a .txt file and use those temporary variables as new parameter values or as parts of expressions that define new parameter values. |
Call a subscript from a model parameter file | Call additional parameter files from within a .txt file to encapsulate certain elements of a test in separate files. |
Alias parameter names in a model parameter file | Use an alias file to define syntactically correct aliases for model parameter names. |
Import and manage batches of model parameters in the VeriStand Editor | Import model parameters with the Model Parameter Manager to apply values defined in an external .txt file to a model. |
Import and manage batches of model parameters in the Workspace | |
Update model parameters during a stimulus profile test | Use the Update Model Parameters from File step in a stimulus profile to apply model parameter values defined in a text file to a simulation model that is deployed and running on a target. |
Related Information
- Changing the Initial Value of Model Parameters
Configure VeriStand to apply initial values for model parameters from a .txt file when a system definition file deploys.
- Setting Model Parameter Values in the Workspace
Use model calibration controls in the Workspace to view and modify the values for any model parameters in the system definition.
- Locking Model Parameters at Run Time
Lock a parameter in the Workspace to prevent its value from updating.
- Declaring Temporary Variables in a Model Parameter File
Declare temporary variables within a .txt file and use those temporary variables as new parameter values or as parts of expressions that define new parameter values.
- Calling a Subscript from a Model Parameter File
Call additional parameter files from within a .txt file to encapsulate certain elements of a test in separate files.
- Aliasing Parameter Names in a Model Parameter File
Use an alias file to define syntactically correct aliases for model parameter names.
- Importing and Managing Batches of Model Parameters with the VeriStand Editor
Import model parameters with the Model Parameter Manager to apply values defined in an external .txt file to a model.
- Importing and Managing Batches of Model Parameters in the Workspace
Use the Model Parameter Manager tool to import and apply model parameter values defined in external .m or .txt files to a model.
- Updating Model Parameters During a Stimulus Profile Test
Use the Update Model Parameters from File step in a stimulus profile to apply model parameter values defined in a text file to a simulation model that is deployed and running on a target.