using visual C++ compiler in matlab

1 view (last 30 days)
Mahnaz
Mahnaz on 10 Aug 2012
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??

Answers (1)

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

Sign in to comment.

Categories

Find more on Troubleshooting in MATLAB Compiler SDK in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!