Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SSS148 on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

can i write c / c++ code in matlab?

Status
Not open for further replies.

VictorPerez

Civil/Environmental
Dec 7, 2002
17
Hi,

i am using matlab 6.5.i want to know if i have to install a compiler for writing c or c++ code. Can i write the code in matlab?. By the way, Can you tell me how powerful the matlab language is ? Feel free to give me any suggestions. Thanks,

Victor
 
Replies continue below

Recommended for you

If you have a standard MATLAB install you shold have the free lc compiler and you should be able to compile c code, but not C++ code. Fopr C++ you would need a compatible C++ compiler. If you need a free one, you could try the Boland 5.5 available on the net somewhere.

I do not understand your question:
"Can i write the code in matlab?. "
 
Can i write the code in matlab?

Matlab cannot interpret C or C++ code. But unless you are doing someting really deep, or trying to interface with existing libraries or talk to odd devices, regular Matlab should suffice.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor