how can I convert fortran and C++ to matlab

4 次查看(过去 30 天)
how can I convert fortran and C++ to matlab

回答(1 个)

Ben Barrowes
Ben Barrowes 2019-7-12
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.

类别

Help CenterFile Exchange 中查找有关 Fortran with MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by