CrazyEngineers Archive
Old, but evergreen and popular discussions on CrazyEngineers, presented to you in read-only mode.
@Vila • 08 Nov, 2008
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 • 08 Nov, 2008 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 • 11 Nov, 2008 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 • 17 Nov, 2008 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 • 31 Jan, 2009 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 • 31 Jan, 2009 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
3.9k views

Related Posts

@Kaustubh Katdare · Mar 15, 2014

Stumbled upon this totally addictive game. Trust me, it does not look addictive but I bet a few moves into the game and you would have that 'never give up'...
7.2k views

@Ankita Katdare · Apr 8, 2015

Whenever these's a natural calamity such as earthquake or flood, a situation where rescue and relief operation is going on, calls need to be routed on priority for the people...
3.8k views

@aashima · Jul 11, 2006

hi enggs...well being in engg line.. we all very well know that we gotta study on an average 40 subjects in our 4 year degree... these subjects are a blende...
4.5k views

@advayricha · Feb 12, 2013

i am tryin to run an html file(index.html) in XAMPP. dis is my url:https://www.localhost.com/myprograms/index.html, bt its nt workin. wat cud b d issue?
14.8k views

@Sanyam Khurana · Jun 18, 2014

Title says it all, my budget is max to max Rs. 1k, however if I can get a good one for less, would really appreciate it. Please help!
6.1k views