How to convert c/c++ code to MatLab code?

2 vues (au cours des 30 derniers jours)
Nitish Kumar
Nitish Kumar le 18 Nov 2012
Commenté : Walter Roberson le 10 Avr 2016
I have c code which i need to convert into MATLAB for further processing.
  3 commentaires
Eric
Eric le 9 Avr 2016
boxd
Walter Roberson
Walter Roberson le 10 Avr 2016
Eric, the relevance of your comment is not obvious?

Connectez-vous pour commenter.

Réponses (1)

Jan
Jan le 18 Nov 2012
Modifié(e) : Jan le 18 Nov 2012
You can't.
Either a re-implementation is required in general, or you can call the C++ code from Matlab using the MEX-interface. See http://www.mathworks.com/help/matlab/creating-c-c-and-fortran-programs-to-be-callable-from-matlab-mex-files.html

Catégories

En savoir plus sur Call C++ from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by