ExecOmlScript
This block executes a user-defined command or script in OpenMatrix Language.
Library
CustomBlocks
Description
This block runs an OML Script in the Worker thread. The Script is executed in the base environment interactively through the block GUI. This block does nothing during simulation.
The usage is to allow users to initialize the environment, for example by running a script to linearize a plant and construct a controller before running a simulation to validate the controller.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
script | OML Script | The OML script to be executed using the Execute button | String |