The
run_fir_compiler_v7_2_mex.m file contains a MATLAB script
with an example of how to run the C model using the MEX function.To run the sample script:
- Compile the MEX function with the
make_fir_compiler_v7_2_mex.mscript (refer to Compiling). - Install the MEX function (refer to Installation).
- Execute the
run_fir_compiler_v7_2_mex.mscript.The script demonstrates the following filter configurations:
Table 1. Example Filter Configurations Variable Configuration Notes fir1 Default single-rate, real coefficients Batch mode fir2 Reloadable single-rate, real coefficients Demonstrates reload_sendandconfig_sendfir3 2-channel interpolation ×2, real coefficients fir4 fir5 fir6 fir7 fir8 fir9