Main Content

FFTW calls for fast Fourier transform functions in a MATLAB Function Block

To execute MATLAB Function block algorithms that call MATLAB® fast Fourier transform (FFT) functions (fft, fft2, fftn, ifft, ifft2, or ifftn), Simulink® uses the library that MATLAB uses for FFT algorithms.

If you use Simulink Coder™ to generate code for these algorithms, by default, the code generator produces code for the FFT algorithms instead of producing FFT library calls. To increase the speed of fast Fourier transforms in generated code, you can specify that the code generator produce calls to a specific installed FFTW library. See Speed Up Fast Fourier Transforms in Code Generated from a MATLAB Function Block (Simulink Coder).

Related Topics

External Websites