See All

How can I define user variables or parameters?

The easiest way is to use a user_model, as described in the tutorial in “Tips and tricks > User models” part. User models can be used as variables or parameters in your code.

Note : if you want to integrate a time-variable value, an elegant way is to use the user derivative functionality (see “User derivatives” in the tutorial).