Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Re: Mexing fortran file with additional object files
Posted:
Mar 20, 2011 6:12 PM
|
|
"Sebastian Hölz" <NOSPAMshoelz@ifm-geomar.de.NOSPAM> writes:
>>> mex Module_1.obj Test.f90 -output Test.mexw32 > > How do I achive the same, if the precompiled .obj- and .mod-file are > in a different directory ? I have tried to include the path with the > "-I" or the "-l" and "-L" switch, but can not find any combination > which works.
The -I option defines the search path for header files, the '-L' option defines the search path for library files specified via the '-l' option. Have you ever tried the command
mex Test.f90 somewhere\in\space\Module_1.obj
-- Ralph Schleicher <http://ralph-schleicher.de>
Development * Consulting * Training Mathematical Modeling and Simulation Software Tools
|
|
|
|