Variables
Variables store values that can be read and written from inside the model, i.e. a read and a write operation can be performed on them.
In the ECU, they can be placed in the volatile or non-volatile memory. For newly created variables, volatile is pre-selected.
Variables can be real or virtual (see Virtual Variables/Parameters).
Since ASCET V6.2, it is impossible to assign the attributes virtual and non-volatile to the same variable. A non-volatile variable is automatically set to non-virtual. If you use an existing component that contains a variable with the virtual and non-volatile attributes, a warning is issued during code generation:
WMdl400 – Element "%1" has both attributes >non volatile< and >virtual< set. This is not allowed anymore, please change settings manually.
See also
Editing the Configuration of a Scalar Element
Editing the Configuration of a Characteristic Line/Map or Distribution