Requirements for Generating Compiled C Code Files
You use the fiaccel function to generate MEX code from
a MATLAB® algorithm. The algorithm must meet these requirements:
Must be a MATLAB function, not a script
Must meet the requirements listed on the
fiaccelreference pageDoes not call custom C code using any of the following MATLAB Coder™ constructs:
coder.cevalcoder.refcoder.rrefcoder.wref