Main Content

Automatically introduce extrinsic calls

Automatic extrinsic function calls

Description

App Configuration Pane: Advanced

Configuration Objects: coder.MexCodeConfig | coder.CodeConfig | coder.EmbeddedCodeConfig

plotSpecify whether the code generator should automatically treat common visualization functions as extrinsic functions. When this option is enabled, the code generator detects calls to many common visualization functions, such as plot, disp, and figure. For MEX code generation, the code generator automatically calls out to MATLAB® for these functions. For standalone code generation, the code generator does not produce code for these visualization functions. This capability reduces the amount of time that you spend making your code suitable for code generation. It also removes the requirement to declare these functions extrinsic using the coder.extrinsic function.

Settings

On

The code generator treats some common visualization functions as extrinsic functions. This value is the default value.

Off

The code generator does not treat common visualization functions as extrinsic functions unless you declare them as extrinsic by using coder.extrinsic.

Programmatic Use

Property: EnableAutoExtrinsicCalls
Values: true | false
Default: true

Version History

Introduced in R2013a