您好,欢迎访问三七文档
当前位置:首页 > 电子/通信 > 综合/其它 > Matlab与VC混合编程
1VCmatlab()QQ:44760299c_dinco@sina.comMatcommathToolsMC++MatlabCompilerMatcomVC6.0MatcomMatcomVCMatlab2MatcomMatcomVC6.0MatlabMatcomMatlabC++MatlabMIDEVA()MIDEVAMatcomMatlab3mVC1MIDEVA,File-NewTest1.m4mmatcom\matcom45C++matcom\matcom45\Debug\matcomCC:\matcom45\Debug\,Test1.hTest1.cppTest1.rTest1.obj2VCMFCWizard(exe)ExampleIDIDC_BUTTON13C:\matcom45\DebugTest1.cppvoidCExamleDlg::OnButton1()54C:\matcom45\lib\matlib.hv4501vC:\matcom45\debugTest1.hExampleVC--Files,Examplematlib.hv4501vTest1.h65ExamleDlg.cpp6voidCExamleDlg::OnButton1()initM(MATCOM_VERSION)exitM()7releaseago4501.dllv4501v.dllv4501.libVCMatcomVCMatcom8VCMatlabVCMatlabVCmatcomVCmatcomVCmatcomhuatu.m:VC1Example2MFC(exe)2matcomhuatu.m1;13.matcom,2;924huatu.hhuatu.cpp:\matcom45\samples\Debugmatlib.hv4501v.lib:\matcom45\libExample25VC--Example23;1036Example2dlg.cpp(4)1147ButtonEditboxStatictextStatictextIDID_PIC(Statictext)51258Ctrl+W669Button171371088--C/C++precompiledheaders,9149VCmatcommVCMatlabmC++QQ:44760299VCMatlabVCMatlabVCMatlabmatcommatlabmC++exe(dll)matcomstructVCmatlabmatcomCOMCOMCompponentObjectModelmatlabCOMVCCOMMatlabmmatlab-File-New-M-file1huatu.m151mhuatu.mmatlabCOM1matlabcommandwindowcomtoolcom22com162File-NewProject,33com4com13Componentnamecomponent,component,Classnamehuatu,4,Classescomponent,removecomponentAddhuatu,5OKYes.175com24.huatu,Project-AddFilehuatu.m,6mm,,m,m186m5com:Build-COMObject77commatlabmatlab\work\componentcombuilderproject,projectcomponentnamecomponent,componenthautu,project..mhuatu.mprojecthuatucom:Build-COMObjectVCCOM,1VCComHuaTuMFC(exe)2button873component_idl.hcomponent_idl_i.cVC19ComHuaTu\work\component\src4--Filescomponent_idl.hcomponent_idl_i.c5/extern/include/mwcomtypes.hComHuaTu6component_idl.hcomponent_idl_i.cmwcomtypes.h99710COMVCCOMCOM8-(Alt+F7)C/C++precompliedHeaders1120119121121VCcommatlabmatlabmmatcommathlibrarymccCOMCOMVCmatlabVCmatlabVCMATLABVCMATLABVCMATLABVCMATLABVCMATLABVCMATLABMATLABMATLABMATrixLABoratory20CleveMolerLINPACKEISPACKFORTRANMATLABLittleLittleMolerSteveBangert1984MathWorksMATLABMATLABCMATLABUMISTLUNDSIMNONKEDDCMATLAB20MATLABMATLABMATLABMATLABMATLABMATLAB22MATLABNationalInstrumentsLabVIEWCadenceSPWMATLABMATLABHPVXITMDSPGageMATLAB(1)1C(VC):(2)223(3)3MATLAB\MATLABmMATLABFile-New-Mfile(4)4MQJFCZ.m(5)524MATLABCommandQJFCZx=-0.14292.78570MATLABAbCMATLABVC5C\C++C\C++MATLABVCMATLABMATLABC\C++MATLABMATLABmC\C++(exe)(dll)COMC\C++VCMATLABVCMATLABMATLABVCMATLAB(MATLABGUI(GraphicUserInterface),VCMATLABMATLABVCGUI)MATLABVCMATLABMATLABFortranVBJavaSPSS()ExcelWordMATLABVCMatlab,VCMatlabVC25()VCMatlabMatlabEngineMatlabEngineMatlab,C,MatlabEngineC/S(/),Matlab,C,Windows,MatlabEngine,MatlabEngine,MatlabEngineMatlabMatlabMatlabC/C++MatlabC/C++C/C++C\C++MatlabVCVCMatlabMatlabC\C++MatlabC\C++MatlabMatlabCompilerMatlabCompilermC/C++mcc,C/C++mC/C++C/C++mccmC/C++matlabR21.1MatlabCompilermC/C++1.mm2.matlab3.inputevalmatlab4.loadsave5.mm6.MATLAB26matlabcombuildeCOMcomponentobjectmodulematlab6.5combuildermatlabcomMatlab()Matlab(MatlabMathworks)matcom(8M),mathtoolMathworksmmC\C++matcom1.(matcom)2.(dll)(exe)3.4.Matlabmatcom1.structclass2.mVCmatlabC/C++VCC/C++MatlabmmC/C++C/C++VCMatlabMatlabC/C++27MatlabC\C++Matlab,C\C++Matlab,C\C++,CC++Matlabmbuild-setupVCMatlabmex-setupVCCCMatlab:\extern\libmatlabC(cmatlab\extern\examples\cmath)28myappimg1.gif,myappimg2.gif29VC1VCex1.c(:matlab\extern\examples\cmath)2:-,inlude:D:\matlab\extern\include\cppD:\matlab\extern\include2Library:D:\matlab\extern\lib\win32\microsoft\msvc60D:\matlab\extern\libD:\matlab\bin303:--LinkGeneral/D:\matlab\extern\lib\win32\microsoft\msvc60:MatlabMatlabCCMatlabMatlabMM31MatlabCMatlabmxArrayMatlab\extern\include\matrix.hmxArrayMatlabCMatlabMatlabCMatlabC++MatlabC++MatlabMMatlabCC++C++MatlabC++MatlabCMatlabC++MatlabCMatlab7.0C/C++7.0VCMATLABMATLABCompilerMATLABmC32C++plibdllSMATLAB6.5MATLABC\C++dllMATLABMdllMATLAB6.5mzdll,VCdll1C\C++mex-setupmbuild-setup2VCMATLAB121332MATLAB3MATLAB(File-New-M-file)mhuatu_test.m4MATLABdlldllMATLAB\workdlltest.hdlltest.libdlltest.dll5VCceshibuttondlltest.hdlltest.libdlltest.dllProject-AddToProject-Files6ceshiDlg.cppdlltest.h34dlltest.hdlltestInitializedlldlltestTerminatedll,mlfHuatu_testbutton3335VCdllMATLABdllVCdllC\C++MATLAB6.53.0MATLAB7.04.04.03.07.0mccmccmyfun.mc,cmccMATLABVCMATLABc_dinco@sina.com,1VC;2,binVCMATLABMATLAB,mVCdll,mC\C++,VC1MATLAB36gjfcz.m2MATLAB–CMATLAB(MATLAB\work)gjfcz.exegjfcz.cgjfcz.hgjfcz_main.cgjfcz.cgjfcz.h3JXXFC4gjfcz.cgjfcz.h(Project-AddtoProject-Files)53711VC6.0+MATLAB6.5,VCMATLAB,mC\C++VCC\C++C\C++C\C++C\C++MATLABcmath_ref2b.pdfcmath_ug2b.pdf,MATLAB7.0,7.0C\C++,,VC,,VCMATLAB38VC6.0+MATLAB6.5,VC671ceshidll.mM,ceshidll.m2MATLABCommandceshidll.mMATLABceshidll.cceshidll.hdlltest.cdlltest.exportsdlltest.hdlltest.mlibdlltest.expdlltest.libdlltest.dlldlltest.hdlltest.libdlltest.dll3FitMFC(exe)Button,3914dlltest.hdlltest.libdlltest.dlldlltest.hdlltest.libVCProject-AddtoProjec-Files5FitDlg.cpp6JFC.cpp:402241C\C++7.0QQ:44760299VCMATLAB,VCMA
本文标题:Matlab与VC混合编程
链接地址:https://www.777doc.com/doc-5097727 .html