How to compile the .m file and use it in VC++

 채택된 답변

Titus Edelhofer
Titus Edelhofer 2011년 6월 7일

0 개 추천

Hi,
use the MATLAB compiler and generate a C/C++-Shared Library ... just start
deploytool
and follow the steps ...
Titus

댓글 수: 3

Yang
Yang 2011년 6월 7일
where can I find my matlab compiler?
when I run mbuild -setup it shows me no compiler
You need to first install a supported C/C++ compiler. Look for your MATLAB release number and your machine platform in the list at: http://www.mathworks.com/support/compilers/R2011a/win32.html
Titus Edelhofer
Titus Edelhofer 2011년 6월 7일
Hi,
since your question is about VC++, I guess you are working on Windows. Since no compiler shows up, you are using 64 Bit MATLAB? If you run "mbuild -setup" and hit "n" for not showing the installed compilers, a list shows up with the supported ones ...
Titus

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by