- Don't use same variable name, upercase and lowercase, for two different variables in the same module; it confuses the translator.
- Don't use arrays with more than 2 dimensions
- Don't end statements with ","; use ";" or noting.
Tuesday, February 17, 2009
MATLAB translation for Fortran
If you want to translate from MATLAB to Fortran, for efficiency, compatibility with ANSYS, to distribute .exe files, and so on, you must follow these rules (and more):