MATLAB COMPILER RELEASE NOTES User's Guide Page 125

  • Download
  • Add to my manuals
  • Print
  • Page
    / 264
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 124
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
Page view 124
1 2 ... 120 121 122 123 124 125 126 127 128 129 130 ... 263 264

Comments to this Manuals

No comments