Can C program be converted to Matlab ?
Show older comments
Can C program be converted to Matlab ?
Accepted Answer
More Answers (1)
Jan
on 24 Feb 2013
0 votes
Yes, both languages have the same power.
A manual conversion can be a big piece of work or very easy. Do you mean an automatic conversion?
3 Comments
Walter Roberson
on 24 Feb 2013
There are some corners of C that have no MATLAB equivalent.
I am thinking in particular that C defines the behavior of seeking on files to include flushing the output, but MATLAB does not define that facility anywhere.
Pooja
on 24 Feb 2013
Walter Roberson
on 24 Feb 2013
Translating pointers would be tricky, but basic concepts such as "for" loops are the same in most programing languages.
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!