MEX Function Example Code - 9.1 English

PG109 Fast Fourier Transform LogiCORE IP Product Guide

Document ID
PG109
Release Date
2022-05-04
Version
9.1 English

An example M file, run_xfft_v9_1_mex.m , is provided. This demonstrates the steps required to run the MEX function: set up generics, create input data, simulate the FFT, and use the outputs. The code works for all legal combinations of generics. Modify the declarations of generics at the top of the file. The code also shows how to model a multichannel FFT; see Modeling Multichannel FFTs .

The example code can be used to test your MEX function compilation process. See Building the MEX Function .