How to link matlab libraries from XCode

2 views (last 30 days)
Siva
Siva on 1 Feb 2013
This might be a basic question but I couldn't find a clear answer.
I created a dylib for my matlab project using mcc. I want to use these functions in my xcode project.
I could include the .h file for the project and corresponding .dylib file in my xcode project (Build Phases->Link Binary with Libraries). However it's obviously missing the matlab libraries.
I couldn't find the location of library files (.a) to include in my Library search path. (On windows, I believe it is /extern/lib/)
Can someone point me to this location or any instructions?
Also, I found a bunch of matlab dylibs in the /bin/maci64/ folder. If I were to go down that path, how do I know which libraries to include?
Thanks Siva.

Answers (0)

Categories

Find more on Get Started with MATLAB Compiler in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!