⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 myrandplottest_com.cpp

📁 精通matlab7.0及与其他语言的混合编程
💻 CPP
字号:
#include "myrandplottest_com.hpp"
#include "matlab.hpp"


IMCLEvent* g_pEvent = NULL;
extern "C" _mex_information _lib_info;
static CMCLLibInfoC g_LibInfo(&_lib_info);
IMCLLibInfo* g_pLibInfo = &g_LibInfo;

HRESULT __stdcall Cmyrandplottest::getplotcolor(/* [in] */ long nargout,
                                                /* [in,out] */ VARIANT* out) {
    return( CallComFcn( mlxGetplotcolor, (int) nargout, 1, 0, out ) );
}


HRESULT __stdcall Cmyrandplottest::myrandplot(/* [in] */ long nargout,
                                              /* [in,out] */ VARIANT* out,
                                              /* [in] */ VARIANT n) {
    return( CallComFcn( mlxMyrandplot, (int) nargout, 1, 1, out, &n ) );
}


HRESULT __stdcall Cmyrandplottest::setplotcolor(/* [in] */ VARIANT color) {
    return( CallComFcn( mlxSetplotcolor, 0, 0, 1, &color ) );
}


HRESULT __stdcall Cmyrandplottest::get_randplotcolor(/* [out, retval] */ VARIANT* randplotcolor) {
    return( GetProperty( 0, randplotcolor ) );
}
HRESULT __stdcall Cmyrandplottest::put_randplotcolor(/* [in] */ VARIANT randplotcolor) {
    return( PutProperty( 0, &randplotcolor ) );
}
class Init_term_myrandplottest {
public:
    Init_term_myrandplottest( )  { myrandplottestInitialize(); }
    ~Init_term_myrandplottest( ) { myrandplottestTerminate(); }
};
Init_term_myrandplottest myrandplottest_init_term;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -