求助:matlab与vc接口设置出现问题
按照书上把matlab 和 vc 都已经设置好了,在检验C-MEX 函数的编写编译链接的时候出现问题。先是 vc中没有mex.h……库函数,我从matlab文件夹里找到了,拷贝到vc的include里,但是vc中又出现新问题:
--------------------Configuration: w33 - Win32 Debug--------------------
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/w33.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
w33.exe - 2 error(s), 0 warning(s)
哪位高手知道,给我指点一下,谢谢了!! 在project中新建一个 win32 application 在向导中选择空project 然后把你的文件加到 project中编译 我是新手,能说的细一点么?谢谢:) matlab运行 mbuild -setup 后出现的问题:
Note: One or more components necessary to the operation of the MATLAB Visual
Studio add-in could not be installed. The MATLAB Visual Studio add-in
will not be available, but the rest of this setup operation will
continue normally.
页:
[1]