Skip to content

Running the MATLAB translator

kynan edited this page Jul 10, 2012 · 1 revision

Using Octave

  • Change to the application directory you want to call the source-to-source translator in.
  • Call Octave as octave --path </path/to/op2.m>
  • Call the translator with op2 <application basename>

In case of the the Airfoil plain dp application:

cd apps/c/airfoil/airfoil_plain/dp
octave --path ../../../../../translator/c/matlab
octave:1> op2 airfoil
Clone this wiki locally