how can I convert fortran and C++ to matlab
4 次查看(过去 30 天)
显示 更早的评论
how can I convert fortran and C++ to matlab
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fortran with MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!