Run Fortran program from Matlab

I need to wrap a Fortran program to run from Matlab.  Has anyone done this before?  I did not find much information in my search.  Thank you for any help you can give.
newtoperlpgmAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Florian LenschowCommented:
I used to do this with c++ source files, which is accomplished using the mex-interface. It also supports Fortran (Fortran Source File mex. If I remember correctly, you will need to fit your program to the general Matlab function signature using the functions mex provides. The resulting file can be compiled to a binary mex file, that can be called from Matlab. I haven't worked with Fortran so I can't really go into detail here. I hope the link is helpful.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
newtoperlpgmAuthor Commented:
I tried but had not luck with the current version of Matlab.  Thank you though.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
FORTRAN

From novice to tech pro — start learning today.