Can C program be converted to Matlab ?
显示 更早的评论
采纳的回答
更多回答(1 个)
Jan
2013-2-24
0 个投票
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 个评论
Walter Roberson
2013-2-24
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
2013-2-24
Walter Roberson
2013-2-24
Translating pointers would be tricky, but basic concepts such as "for" loops are the same in most programing languages.
类别
在 帮助中心 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!