Support: absolute time
Description
Specify whether to generate and maintain integer counters for absolute and elapsed time values.
Category: Code Generation > Interface
Settings
Default: on
On
Generates and maintains integer counters for blocks that require absolute or elapsed time values. Absolute time is the time from the start of program execution to the present time. An example of elapsed time is time elapsed between two trigger events.
If you select this option and the model does not include blocks that use time values, the target does not generate the counters.
Off
Does not generate integer counters to represent absolute or elapsed time values. If you do not select this option and the model includes blocks that require absolute or elapsed time values, an error occurs during code generation.
Dependencies
This parameter only appears for ERT-based targets.
This parameter requires an Embedded Coder® license when generating code.
Select this parameter if your model includes blocks that require absolute or elapsed time values.
Command-Line Information
Parameter:
SupportAbsoluteTime |
Type: character vector |
Value:
'on' | 'off' |
Default:
'on' |
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | Off |
Safety precaution | No recommendation |