Question:
how can i convert MATLAB code to other code(like C++, basic,FORTRAN,...)?
yadollah_far
2006-12-23 03:25:25 UTC
i want to write my program in MATLAB(m-file) and run it in a computer without MATLAB software. so i need a way to tranlate m-file to other code like c,c++,basic,fortran,... by the way, my code contain some functions.
Three answers:
alakit013
2006-12-23 04:24:37 UTC
Mathworks is selling its translator. Another alternative is MATCOM, which is a is freeware

translator of MATLAB to C++. It seems to work pretty well, but can be confused by feval() and gives up on eval().



Sorry, links i've sent you are all dead... Try to find it yourself.
Curly
2006-12-24 17:10:49 UTC
Maple.



You can derive it symbolically in maple, then translate it to matlab, fortran, c or other language options.



You might seriously consider learning python and using the open source symbolic solver libraries, graphic libraries, and numeric libraries.
dm_dragons
2006-12-23 11:56:32 UTC
1. Rewrite the application in desired langauge

2. Purchase a tool that converts it


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...