Vila
Vila
Branch Unspecified
31 Jan 2009

Convert C codes to Matlab Codes

Hiiii everybody,

How do i change or convert C codes to Matlab codes? Is there any software that can convert C codes to Matlab codes? I have lots of C codes here, but i need them all in Matlab codes form.

Thank you...
Vila

Vila

Branch Unspecified
10 years ago
Hiiii everybody,

How do i change or convert C codes to Matlab codes? Is there any software that can convert C codes to Matlab codes? I have lots of C codes here, but i need them all in Matlab codes form.

Thank you...
anuragh27crony

anuragh27crony

Branch Unspecified
10 years ago
there's no need to convert the C-Code into Matlab...

as far as i know, we can run C-code directly in Matlab... I don't know exactly but need to check it once.... :smile:
Vila

Vila

Branch Unspecified
10 years ago
Hiiiii,

Yes its done by using the MEX file. But i dont know how to use the MEX file inside C codes to make it run in Matlab. Besides the header file, where else do we need to include the MEX file, and when to include it? and also how to use the MEX file?

Thankss...
akshu

akshu

Branch Unspecified
10 years ago
hi, all
anybody help me out regarding Convert C codes to Matlab Codes.

How do i change or convert C codes to Matlab codes? Is there any software that can convert C codes to Matlab codes?


Thanks..
durga ch

durga ch

Communications
10 years ago
I had this thought that MATLAB follows the syntax of C codes.
I found this out from mathworks.com
Lokks like all you need is a matlab C complier and then changing the main() function in your C code to mexfunction and remainging all should work as the syntax is same

look for more! 😀

Support - What are my options for interfacing MATLAB code and C/C++ code with the MATLAB Compiler?

MATLAB

Share this content on your social channels -

Only logged in users can reply.