Supported Syntax in Model Parameter Files
- Updated2025-01-27
- 2 minute(s) read
Supported Syntax in Model Parameter Files
Format text (.txt) files to the correct syntax before you apply them to a simulation model.
parameter1 delimiter value1 parameter2 delimiter value2 ...
Element Type | Processing Notes | Valid Entries |
---|---|---|
parameter | Valid parameters begin with a letter and contain only alphanumeric characters or underscores. Enclose a parameter whose expression does not fit these conventions in curly braces ({ }). For example, represent a block parameter that includes the model and block names separated by slashes in the following way: {model1/sine/parameter1}. |
|
delimiter | — |
|
value | Regardless of localized setting, periods (.) in a value are processed as decimal separators and commas (,) are processed as a thousands separator. In the VeriStand Editor, the localization setting is considered when displaying values. This may lead to situations where values that contain a period in the file will be displayed with commas. |
|
Related Information
- Aliasing Parameter Names in a Model Parameter File
Use an alias file to define syntactically correct aliases for model parameter names.
- 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.
- 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.