Use of Mex in Matlab for Mac
8 views (last 30 days)
Show older comments
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
0 Comments
Answers (0)
See Also
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!