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):
  1. Don't use same variable name, upercase and lowercase, for two different variables in the same module; it confuses the translator.
  2. Don't use arrays with more than 2 dimensions
  3. Don't end statements with ","; use ";" or noting.

No comments:

Post a Comment