Thread Subject: call Matlab C shared library from Fortran

Subject: call Matlab C shared library from Fortran

From: Bill

Date: 10 Mar, 2009 17:05:18

Message: 1 of 1

All,

I use the deploy tool to create a C shared library. The structure is that is has a "token" .m file that does essentially nothing. I then add a bunch if .lib files such as libmx.lib, libmat.lib. lib, libdflapack.lib and a bunch of dll's that libdflapack depends upon. When I include the composite .lib in my Visual Studio project, none of the function calls into the Matlab stuff get resolved at link time.

However, if instead, I just include libmx.lib, or libmat.lib or libdflapack.lib in my project it links and runs just fine.

As usual, I am missing something here.

TIA,

Bill

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com