Main Content

Built-in FFTW library callback

Use built-in callback for FFTW library usage

Since R2023a

Model Configuration Pane: Code Generation

Description

The Built-in FFTW library callback parameter instructs the code generator to use the built-in callback for FFTW library calls in the code generated for FFT functions from MATLAB® code. This parameter applies to MATLAB code in a MATLAB Function block, a Stateflow® chart, or a System object™ associated with a MATLAB System block.

To improve the execution speed of FFT functions, the code generator produces calls to the FFTW library. You can either use the code generator's built-in callback or define the custom callback class for FFTW library calls.

Settings

off (default) | on
On

Uses the built-in callback for FFTW library usage.

Off

Does not use the built-in callback for FFTW library usage.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: BuiltinFFTWCallback
Type: character vector
Value: 'on' | 'off'
Default: 'off'

Limitation

This feature works only on MATLAB host targets and does not support multi-threading.

Version History

Introduced in R2023a