From: Jaianand on 27 Apr 2010 15:43 I have a C++ code for doing the socket programming. I need to know how to compile the C++ file in Matlab. In the help file I came across the need for converting that as a mex file. I tried to execute the sample .cpp files given as examples but I keep getting the error "Matlabroot\R2008A\BIN\MEX.PL: Error: 'mexcpp.cpp' not found." Can Someone brief me what I can do to implement socket programming in Matlab. Thanks, Jai
From: James Tursa on 27 Apr 2010 16:15 "Jaianand " <jaianand(a)coolvirgo.com> wrote in message <hr7eo9$mho$1(a)fred.mathworks.com>... > I have a C++ code for doing the socket programming. I need to know how to compile the C++ file in Matlab. In the help file I came across the need for converting that as a mex file. I tried to execute the sample .cpp files given as examples but I keep getting the error "Matlabroot\R2008A\BIN\MEX.PL: Error: 'mexcpp.cpp' not found." > > Can Someone brief me what I can do to implement socket programming in Matlab. I think you need to just get a simple mex routine running first, *then* worry about moving on to other things. What, exactly, did you type at the prompt when attempting to compile your test mex routine? James Tursa
From: Jaianand on 27 Apr 2010 18:30 I think you need to just get a simple mex routine running first, *then* worry about moving on to other things. What, exactly, did you type at the prompt when attempting to compile your test mex routine? > > James Tursa I used the command mex mexcpp.cp That is the command given in the help file to compile the code. Error I am getting is "matlabroot\R2008A\BIN\MEX.PL: Error: 'mexcpp.cpp' not found."
|
Pages: 1 Prev: kmeans centroid with correlation Next: Problem fitting svensson model by using lsqcurvefit |