Custom FFT library callback
Callback for custom FFT library usage
Model Configuration Pane: Code Generation
Description
The Custom FFT library callback parameter specifies a callback class for FFTW library calls in the 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. You can either use the code generator's built-in callback or define the custom callback class for FFTW library calls.
Settings
''
(default)Specifies 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.
Tips
Specify only the name of the class. Do not specify the name of the class definition file.
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |
Programmatic Use
Parameter: CustomFFTCallback |
Type: character vector |
Value: class name |
Default: '' |
Limitation
The class definition file must be in a folder on the MATLAB search path.
Version History
Introduced in R2017b