Automatically run the initialize function - Automatically run the initialize function - MATLAB (original) (raw)
Main Content
Automatically run the initialize function
Description
App Configuration Pane: Advanced
Configuration Objects: coder.CodeConfig | coder.EmbeddedCodeConfig
Specify whether to include a call to the initialize function at the beginning of the generated entry-point functions. The generated code includes checks to make sure that the initialize function is called automatically only once, even when there are multiple entry-point functions.
Dependencies
- Selecting the Initialize function required and Terminate function required check boxes enables this parameter.
- Selecting the Generate re-entrant code check box disables this parameter.
Settings
On
This value is the default value.
The generated entry-point functions include calls to the initialize function.
Off
The generated entry-point functions do not include calls to the initialize function.
Programmatic Use
**Property:**RunInitializeFcn |
---|
Values: true |false |
Default: true |
Version History
Introduced in R2019b