Effacer les filtres
Effacer les filtres

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

4 vues (au cours des 30 derniers jours)
Yang
Yang le 7 Juin 2011
Dear all,
Which technique should I use?

Réponse acceptée

Titus Edelhofer
Titus Edelhofer le 7 Juin 2011
Hi,
use the MATLAB compiler and generate a C/C++-Shared Library ... just start
deploytool
and follow the steps ...
Titus
  3 commentaires
Kaustubha Govind
Kaustubha Govind le 7 Juin 2011
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 le 7 Juin 2011
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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Deploy to C++ Applications Using mwArray API (C++03) dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by