Main Content

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 fiaccel reference page

  • Does not call custom C code using any of the following MATLAB Coder™ constructs:

    • coder.ceval

    • coder.ref

    • coder.rref

    • coder.wref