MATLAB Compiler | ![]() ![]() |
C++ Header File
If the target language is C++, the Compiler generates the header file, gasket.hpp
. This example uses the Compiler command
mcc -t -L Cpp -T codegen -F page-width:60 gasket
to generate the associated files. The C++ header file, gasket.hpp
, is
// // MATLAB Compiler: 2.1 // Date: Thu Aug 24 08:45:03 2000 // Arguments: "-B" "macro_default" "-O" "all" "-O" // "fold_scalar_mxarrays:on" "-O" // "fold_non_scalar_mxarrays:on" "-O" // "optimize_integer_for_loops:on" "-O" "array_indexing:on" // "-O" "optimize_conditionals:on" "-t" "-L" "Cpp" "-T" // "codegen" "-F" "page-width:60" "gasket" // #ifndef __gasket_hpp #define __gasket_hpp 1 #include "matlab.hpp" extern void InitializeModule_gasket(); extern void TerminateModule_gasket(); extern mwArray gasket(mwArray numPoints = mwArray::DIN); #ifdef __cplusplus extern "C" #endif void mlxGasket(int nlhs, mxArray * plhs[], int nrhs, mxArray * prhs[]); #endif
![]() | The Generated Header Files | Internal Interface Functions | ![]() |