Use of Mex in Matlab for Mac

8 views (last 30 days)
Nassim Benoussaid
Nassim Benoussaid on 8 Apr 2015
I am having troubles using a .c function with mex on Matlab for Mac (iOS 10.9.5) with XCode 6.0 (supported). When i try compiling using the command
mex components_mex.c
i get the following error
Error using mex
Undefined symbols for architecture x86_64:
"_strong_components", referenced from:
_mexFunction in components_mex.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have joined the functions and necessary files to help.
Thanks in advance, I am really desperate even for just a tip. Nassim

Answers (0)

Categories

Find more on Write C Functions Callable from MATLAB (MEX Files) 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!