MATCOM Yes Mathworks the first company to exit is MATLAB to C ++ 4.5 , integrated debugging and compiling environment guard Mideva . MATCOM connection MATLAB m there are three methods to file:
(1) after simple settings, by mideva m convert source files to C/C ++ , and then add it to msvc engineering.
(2) by mideva directly generate EXE file, in VC shell Call. This method is simple and convenient, but a console window appears during running, VC and MATLAB cannot interact with each other, poor versatility, applicable only to VC call MATLAB displays images.
(3) using the visual MATCOM toolbar, use add-in , this method provides MATLAB and VC direct integration, and can be quickly integrated m file to VC create an independent C/C ++ application Program , c mex dll . You can view the value of the matrix variable during debugging and directly modify m source file instead of modifying the generated C/C ++ file.
InstallMATCOMAnd generateVisual MATCOMTool bar
(1)DownloadMATCOM. Recommended:
(2) Install. Before installation MATLAB To create a folder: \ MATLAB 701 \ bin \ toolbox \ MATLAB \ General . Matcom4.5 You need to enter a password during installation, Matcom4.5 The password is Free-4.5-1193046-80295111 . After the installation is complete, Mideva In Window In the Registry HKEY_CURRENT_USER \ Software \ mattools \ MATCOM \ 4.50 \ license \ Add a key below. The key name is default and the key value is Free-4.5-1193046-80295111 . If you delete it, start it again. MATCOM The password will be asked again. However, if this password is used, there will be no restrictions when the program is released, that is, the program compiled in the registered system does not need to generate a registration file during the release.
(3)During the first running,Matcom4.5Automatic SearchVCThe compiler prompts the user whether to install the tool, and then prompts whether the tool is installed.MATLABAfter installation, if no folder is created\ MATLAB 701 \ bin \ toolbox \ MATLAB \ General. Create a folder manually and restartMatcom4.5You can.
(4)Start laterMATLAB, Run the following command:
Cd c: \ matcom45% MATCOMInstallation path
Diary mpath
MATLAB path
Diary off
(5)Copy% Matcom45 % \ bin \ usertype. datFile% VC % \ common \ msdev98 \ binDirectory.
(6)RunVisual c ++And selectTools-> Customize-> add-ins and macro files, SelectBrowse, Change the file typeAdd-in (. dll), Select% Matcom45 % \ bin \ mvcide. dllFile, OK.
(7)InVisual c ++You can seeVisual MATCOMTool bar, installed successfully.
using MATCOM . m compile the program into stand_alone , no MATLAB system, just copy some necessary DLL file, including: v1_1v. DLL , ago release 1.dll (or c4500v. DLL , ag4500.dll , which may be related to the operating system) and % MATLAB % \ bin \ Win32 lib DLL file.
click to download MATCOM 4.5