MATLAB Answers

0

how can I convert fortran and C++ to matlab

Asked by Oluwaseyi Aliu on 12 Jul 2019
Latest activity Answered by Ben Barrowes on 12 Jul 2019
how can I convert fortran and C++ to matlab

  0 Comments

Sign in to comment.

1 Answer

Answer by Ben Barrowes on 12 Jul 2019

If you have more fortran code to convert to matlab code in the future, try f2matlab. F2matlab expects fortran code to be in f90 format (with no goto's), so use Alan Miller's to_f90 or Mike Metcalf's convert.f90 to get the code into f90 format, and Alfasoft's plusfort spag to get rid of around 70% of the goto's. If there are too many goto's remaining to refactor by hand, my remgoto can refactor the rest.

  0 Comments

Sign in to comment.