Built-in variables

The following variable names are built into Embed and can be used to pass signals or reference file names.

Block name



Generates an initial unit pulse on the first step of a simulation


It returns TRUE (1) if you are generating code from the diagram; or FALSE () if you are simulating the diagram


Generates a final pulse on the last step of a simulation


Accesses the random seed set in the System Properties dialog


Holds the simulation iteration count for multiple simulation runs, such as Monte Carlo simulations and parameter sweeps


Returns the start time of the simulation


Returns the step size of the simulation


Returns the stop time of the simulation