Terminate function required - Terminate function generation - MATLAB (original) (raw)

Main Content

Terminate function generation

Description

App Configuration Pane: Advanced

Configuration Objects: coder.EmbeddedCodeConfig

Terminate function generation.

When using GPU Coderâ„¢, the code generator always produces an terminate function.

Settings

On

This value is the default value.

The code generator produces a terminate function.

Off

The code generator does not produce a terminate function. If you setIncludeTerminateFcn to false and a terminate function is required, for example, to free memory, the code generator issues a warning.

Programmatic Use

**Property:**IncludeTerminateFcn
Values: true |false
Default: true

Version History

Introduced in R2011a