How to create a .lib file for graph.h graph.cpp and mxflow.cpp files to be used futher for mbuild parameters
7 views (last 30 days)
Show older comments
I am using MATLAB 2009a on Windows OS. I require to use maxflow v-3.01's .h and .cpp files as library files to be used for finding the maximum flow in a graph using a maxflow function of cpp. from MATLAB
For mbuild to work, how to first create a .lib for all .cpp and .h files in it.
I will be very thankful if you can help me.
Please suggest if there is any other way out.
0 Comments
Answers (1)
Titus Edelhofer
on 16 Jan 2012
Hi,
you can either use mbuild itself for this task (add a .exports file to your list of files to be compiled, see
doc mbuild
or, could be easier: just add all the .cpp files when compiling your mex function.
Titus
0 Comments
See Also
Categories
Find more on MATLAB Compiler SDK in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!