Main Content

Custom FFT library callback


Specify a callback class for FFTW library calls in code generated for FFT functions in 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 that you specify in the callback class.

Category: Code Generation


Default: ''

Specify the name of an FFT library callback class. If this parameter is empty, the code generator uses its own algorithms for FFT functions instead of calling the FFTW library.


The class definition file must be in a folder on the MATLAB path.


Specify only the name of the class. Do not specify the name of the class definition file.

Command-Line Information

Parameter: CustomFFTCallback
Type: character vector
Value: class name
Default: ''

Recommended Settings

DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics

External Websites