Can C program be converted to Matlab ?
Mostrar comentarios más antiguos
Can C program be converted to Matlab ?
Respuesta aceptada
Más respuestas (1)
Jan
el 24 de Feb. de 2013
0 votos
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 comentarios
Walter Roberson
el 24 de Feb. de 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
el 24 de Feb. de 2013
Walter Roberson
el 24 de Feb. de 2013
Translating pointers would be tricky, but basic concepts such as "for" loops are the same in most programing languages.
Categorías
Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!