bdeSetSimulationProfilingEnabled

Sets a flag for profiling of the simulation. When true this function generates a CSV file in the model's temporary directory when the simulation is run. The file contains the simulation's flag information for all the simulation blocks. Can use bdeGetModelTempDir to find the temporary directory where the information is stored.

Syntax

bdeSetSimulationProfilingEnabled(enable)

Inputs

enable
Boolean representing whether or not to enable the flag that creates a CSV of all the simulation's flags.
Type: Boolean

Examples

Set a simulation's flag to create a profile CSV in the model's temporary directory:

          bdeSetSimulationProfilingEnabled(true);