fiaccel resolves function calls by searching first on the code
generation path and then on the MATLAB® path. By default,
fiaccel tries to compile and generate
code for functions it finds on the path unless you explicitly declare the function to be
extrinsic. An extrinsic function is a function on the MATLAB path that is dispatched to MATLAB software for execution.
fiaccel does not compile
extrinsic functions, but rather dispatches them to MATLAB for execution.
MATLAB enforces naming conventions for functions and generated files.
MATLAB reserves the prefix
eml for global C functions and
variables in generated code. For example, run-time library function names all begin with
emlrt, such as
emlrtCallMATLAB. To avoid
naming conflicts, do not name C functions or primary MATLAB functions with the prefix
MATLAB Coder™ software reserves certain words for its own use as keywords of the generated code language. MATLAB Coder keywords are reserved for use internal to MATLAB Coder software and should not be used in MATLAB code as identifiers or function names. C reserved keywords should also not be used in MATLAB code as identifiers or function names. If your MATLAB code contains reserved keywords that the code generator cannot rename, the code generation build does not complete and an error message is displayed. To address this error, modify your code to use identifiers or names that are not reserved.
If you are generating C++ code using the MATLAB Coder software, in addition, your MATLAB code must not contain the C++ Reserved Keywords.
C Reserved Keywords
C++ Reserved Keywords
Reserved Keywords for Code Generation
MATLAB provides platform-specific extensions for MEX files.
|Platform||MEX File Extension|