from C-MEX file example for 'float' data types by Ali Behboodian
Calling a C file from MATLAB, the C function (a high pass filter) has four arguments ...

All files for C-MEX file example for 'float' data types
/hpInput.c

Contact us at files@mathworks.com