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

1 view (last 30 days)
Nitish Kumar
Nitish Kumar on 18 Nov 2012
Commented: Walter Roberson on 10 Apr 2016
I have c code which i need to convert into MATLAB for further processing.
  3 Comments
Walter Roberson
Walter Roberson on 10 Apr 2016
Eric, the relevance of your comment is not obvious?

Sign in to comment.

Answers (1)

Jan
Jan on 18 Nov 2012
Edited: Jan on 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

Community Treasure Hunt

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

Start Hunting!