Main Content

Automatically run the initialize function

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

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