Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

compiling with mex in Matlab/Mac OSX

Status
Not open for further replies.

maceo05

Mechanical
Apr 19, 2005
3
Hi!

I have a problem using the mex-function in
For a project i need to use a Solver for SVM's that is available in C-Source-Code. At the Computer's in University they use the Windows-Version and the mex-function produces a working .dll. Since I'd like to be able to work at home, I want to compile the Solver on my machine. (I'm using the Students Version of Matlab 6.1 on X11/Mac OSX 10.3.9).

The problem is, that even with the example files that come with Matlab, the Compilation results in the following error which I don't understand:

-----------------------------------------------------------
/Applications/MATLAB_SV13/bin/mex: line 1: cc: command not found

mex: compile of 'svmsim.c' failed.

??? Error using ==> mex
Unable to complete successfully
-----------------------------------------------------------

Would be glad to get some advice.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor