Can C program be converted to Matlab ?
Ältere Kommentare anzeigen
Can C program be converted to Matlab ?
Akzeptierte Antwort
Weitere Antworten (1)
Jan
am 24 Feb. 2013
0 Stimmen
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 Kommentare
Walter Roberson
am 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
am 24 Feb. 2013
Walter Roberson
am 24 Feb. 2013
Translating pointers would be tricky, but basic concepts such as "for" loops are the same in most programing languages.
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!