Creating mex file for complicated fortran code

1 次查看(过去 30 天)
Good Day,
I'm starting a project that requires an interface between a complex fortran code (aerodyn) and a matlab code. I will need to write a gateway routine for the fortran code and I wanted to know if there are any suggestions/examples for this or if anyone has any experience with aerodyn and can offer some tips. Any help is much appreciated.
Chris

回答(1 个)

James Tursa
James Tursa 2012-4-19
I am not familiar with aerodyn, but you might have a look at this FEX package for generic double variable interfacing between MATLAB and Fortran:
It makes generous use of pointers to avoid unnecessary data copying.

类别

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