using visual C++ compiler in matlab

7 次查看(过去 30 天)
Mahnaz
Mahnaz 2012-8-10
hello
i installed two compilers in Matlab : LCC and Visual C++ 2008
i want to load a C++ header file in matlab but when i want to do this matlab uses LCC instead of
Visual C++ and gives me some warnings .
How can i say to Matlab that use visual c++ compiler instead of LCC??

回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2012-8-10
mex -setup
mbuild -setup
  3 个评论
Walter Roberson
Walter Roberson 2012-8-10
The .h file that you supply must be a C header file, not a C++ header file.
Mahnaz
Mahnaz 2012-8-11
why must be a C header file?
if i want to use c++ what should i do?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by