The Generated Header Files
5-9
extern void mlxGasket(int nlhs,
mxArray * plhs[],
int nrhs,
mxArray * prhs[]);
#ifdef __cplusplus
}
#endif
#endif
C++ Header File
If the tar ge t language is C ++, the Comp ile r generates the header fil e,
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
Comments to this Manuals