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
Re: mex - matlab calls fortran which calls matlab which calls fortran - is it possible?
Posted: Oct 15, 2009 9:17 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I worked using the following setting:

A) Matlab script (writes on disk the input for B) --> B) fortran source code (as main)(reads data from disk) opens matlab engine C) --> C) launches mex file D)

D) returns to C) --> C) collects data and send to B) --> B) close engine, qrites data to disk -- > A) reads data.

The result is a slower computation mainly due to the engine open callings....



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.