| MATLAB® Compiler™ | ![]() |
%#external
The %#external pragma informs the MATLAB® Compiler™ product that the implementation version of the function (Mlxf) will be hand written and not generated from the M-code. This pragma affects only the single function in which it appears, and any M-function may contain this pragma (local, global, private, or method).
Note If you compile a program that contains the %#external pragma, you must explicitly pass each file that contains this pragma on the mcc command line. |
When using this pragma, the MATLAB Compiler product will generate an additional header file called function_name_external.h, where function_name is the name of the initial M-function containing the %#external pragma. This header file will contain the extern declaration of the function that the user must provide. This function must conform to the same interface as code generated by the MATLAB Compiler product. For more information on the %#external pragma, see Interfacing M-Code to C/C++ Code.
![]() | Functions — Alphabetical List | %#function | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |