Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: mex - matlab calls fortran which calls matlab which calls fortran - is it possible?
Replies: 12   Last Post: Oct 15, 2009 9:17 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Michele Catalano

Posts: 10
Registered: 10/2/09
mex - matlab calls fortran which calls matlab which calls fortran - is it possible?
Posted: Oct 8, 2009 10:37 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Dear All,

I'm trying to link matlab and fortran with mex files and engine matlab, in linux OS. My general purpose is the following:

1) a matlab script A calls a mex function B based upon fortran source code

2) mex function B calls another function in matlab C within matlab engine

3) matlab routine C calls another mex file in fortran D

While i'm able to do steps 2) and 3), I can't do step 1). Before to show the code, please reply to this simple question:

Is it possible to build the overall process 1-3?



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.