The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: simple mex file issue
Replies: 4   Last Post: Jul 22, 2011 3:46 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Jan Simon

Posts: 2,927
Registered: 10/6/08
Re: simple mex file issue
Posted: Jul 20, 2011 7:13 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Dear Mateusz,

> I am compiling a mexw32 file from an .f90 file. The mexw32 uses additional files.

Does this mean that the Mex reads any data from a file? Or are the files needed for the compilation?

> Problem I have is that I must put the additional files in the same directory as the mexw32 file, so the hardcoded path must point into the 'current' folder.

The current folder is *not* the parent folder of the Mex file. You can use WHICH to determine the parent folder of a function. But there should be a better location to store data.

Kind regards, Jan

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.