// // MATLAB Compiler: 5.1 (R2014a) // Date: Wed Sep 23 14:20:20 2020 // Arguments: "-B" "macro_default" "-W" "cpplib:flowmeter" "-T" "link:lib" "-d" // "e:\gwq\课题调压箱\算法\20200823发送给203所的资料\流量计故障诊断20200823-年介 // 成-done\flowmeter\for_testing" "-v" // "E:\gwq\课题调压箱\算法\20200823发送给203所的资料\流量计故障诊断20200823-年介 // 成-done\flowmeter.m" // "class{Class1:E:\gwq\课题调压箱\算法\20200823发送给203所的资料\流量计故障诊断 // 20200823-年介成-done\flowmeter.m}" // #ifndef __flowmeter_h #define __flowmeter_h 1 #if defined(__cplusplus) && !defined(mclmcrrt_h) && defined(__linux__) # pragma implementation "mclmcrrt.h" #endif #include "mclmcrrt.h" #include "mclcppclass.h" #ifdef __cplusplus extern "C" { #endif #if defined(__SUNPRO_CC) /* Solaris shared libraries use __global, rather than mapfiles * to define the API exported from a shared library. __global is * only necessary when building the library -- files including * this header file to use the library do not need the __global * declaration; hence the EXPORTING_<library> logic. */ #ifdef EXPORTING_flowmeter #define PUBLIC_flowmeter_C_API __global #else #define PUBLIC_flowmeter_C_API /* No import statement needed. */ #endif #define LIB_flowmeter_C_API PUBLIC_flowmeter_C_API #elif defined(_HPUX_SOURCE) #ifdef EXPORTING_flowmeter #define PUBLIC_flowmeter_C_API __declspec(dllexport) #else #define PUBLIC_flowmeter_C_API __declspec(dllimport) #endif #define LIB_flowmeter_C_API PUBLIC_flowmeter_C_API #else #define LIB_flowmeter_C_API #endif /* This symbol is defined in shared libraries. Define it here * (to nothing) in case this isn't a shared library. */ #ifndef LIB_flowmeter_C_API #define LIB_flowmeter_C_API /* No special import/export declaration */ #endif extern LIB_flowmeter_C_API bool MW_CALL_CONV flowmeterInitializeWithHandlers( mclOutputHandlerFcn error_handler, mclOutputHandlerFcn print_handler); extern LIB_flowmeter_C_API bool MW_CALL_CONV flowmeterInitialize(void); extern LIB_flowmeter_C_API void MW_CALL_CONV flowmeterTerminate(void); extern LIB_flowmeter_C_API void MW_CALL_CONV flowmeterPrintStackTrace(void); extern LIB_flowmeter_C_API bool MW_CALL_CONV mlxFlowmeter(int nlhs, mxArray *plhs[], int nrhs, mxArray *prhs[]); #ifdef __cplusplus } #endif #ifdef __cplusplus /* On Windows, use __declspec to control the exported API */ #if defined(_MSC_VER) || defined(__BORLANDC__) #ifdef EXPORTING_flowmeter #define PUBLIC_flowmeter_CPP_API __declspec(dllexport) #else #define PUBLIC_flowmeter_CPP_API __declspec(dllimport) #endif #define LIB_flowmeter_CPP_API PUBLIC_flowmeter_CPP_API #else #if !defined(LIB_flowmeter_CPP_API) #if defined(LIB_flowmeter_C_API) #define LIB_flowmeter_CPP_API LIB_flowmeter_C_API #else #define LIB_flowmeter_CPP_API /* empty! */ #endif #endif #endif extern LIB_flowmeter_CPP_API void MW_CALL_CONV flowmeter(int nargout, mwArray& N, const mwArray& p, const mwArray& q); #endif #endif