Click here to Skip to main content
15,885,875 members
Articles / Desktop Programming / MFC

Using MatLab Add-in for MS Visual Studio 6

Rate me:
Please Sign up or sign in to vote.
4.69/5 (22 votes)
4 Jul 2003CPOL3 min read 366.9K   3K   50  
How to Use the MatLab Add-in for MSVC++ 6
This is the output from running Visual MATLAB.
Please close this window after viewing it.
--------------MCC/MEX BEGIN---------------
mcc -k "E:\TRABAJOS\DANIEL\PRACTICASC++\conv\mcc.mak" -/n -m -A line:on -g libmmfile.mlib -vh  "E:\trabajos\daniel\practicasC++\conv\MyFunc.m"
Compiler version: 2.1
Parsing file "E:\TRABAJOS\DANIEL\PRACTICASC++\conv\MyFunc.m"
	(Referenced from: "Compiler Command Line").
Generating file "MyFunc.h".
Generating file "MyFunc.c".
Generating file "MyFunc_main.c".
Executing command: mbuild -g -v -output "MyFunc" "MyFunc.c" "MyFunc_main.c" -link exe -k "E:\TRABAJOS\DANIEL\PRACTICASC++\conv\mcc.mak" -no_setup
 This is mbuild (c) 1996 - 2000 The MathWorks, Inc.

-> Default options filename found in C:\Documents and Settings\daniel\Application Data\MathWorks\MATLAB\R12
----------------------------------------------------------------
->    Options file           = C:\Documents and Settings\daniel\Application Data\MathWorks\MATLAB\R12\compopts.bat
->    COMPILER               = cl
->    Compiler flags:
         COMPFLAGS           = -c -Zp8 -G5 -W3 -nologo
         OPTIMFLAGS          = -O2 -DNDEBUG
         DEBUGFLAGS          = -Zi -Fd"MyFunc.pdb"
         arguments           = 
         Name switch         = /Fo
->    Pre-linking commands   = 
->    LINKER                 = link
->    Link directives:
         LINKFLAGS           = kernel32.lib user32.lib gdi32.lib /LIBPATH:"C:\matlabR12\extern\lib\win32\microsoft\msvc60" libmmfile.lib libmatlb.lib /nologo libmx.lib libmat.lib sgl.lib libmwsglm.lib
         Name directive      = "/out:MyFunc.exe"
         File link directive = 
         Lib. link directive = 
         Rsp file indicator  = @
----------------------------------------------------------------


--> "copy "C:\matlabR12\extern\include\FigureMenuBar.fig" bin\FigureMenuBar.fig"

        1 archivos copiados.

--> "copy "C:\matlabR12\extern\include\FigureToolBar.fig" bin\FigureToolBar.fig"

        1 archivos copiados.
--------------MCC/MEX DONE----------------

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer Motorola
United States United States
Daniel Cespedes is now working on his final project to get the Electrical Engineering degree at the National University of Technology in Cordoba Argentina. He is developing a Computerized system for the study of Human Echolocation, the ability to detect obstacles with the echoes of self generated sounds.(yes like bats!!) at the CINTRA (Centro de Investigación y Transferencia Acústica).He uses MsVisual C++ 6 as a developing tool. He also work at the Software Research Lab at the University.
He comes from Sta.Cruz de la Sierra-Bolivia a paradise in SouthAmerica´s heart, where you can find pure air, nature contact, happy people, beautiful women etc.

Comments and Discussions