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

I have c code which i need to convert into MATLAB for further processing.

3 comentarios

Eric Nunes
Eric Nunes el 13 de En. de 2014
The best way is to write the C code as a psuedo code, then it would be easy fr you to re-implement it in matlab.
Eric
Eric el 9 de Abr. de 2016
boxd
Walter Roberson
Walter Roberson el 10 de Abr. de 2016
Eric, the relevance of your comment is not obvious?

Iniciar sesión para comentar.

Respuestas (1)

Jan
Jan el 18 de Nov. de 2012
Editada: Jan el 18 de Nov. de 2012

2 votos

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

Categorías

Etiquetas

Preguntada:

el 18 de Nov. de 2012

Comentada:

el 10 de Abr. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by