[Clp] CLP via a Matlab interface - can't call "mexclp(...)"

Johan Löfberg johanl at isy.liu.se
Fri Mar 5 12:22:13 EST 2010


Later version of MATLAB requires the file to be called *.mex32 or 
something like that (i.e. not *.dll). I suspect you will have to 
recompile the interface

/johan (developer (in a distant past) of mexclp)

Benjamin Hebb skrev 2010-03-05 18:02:
> Hi all,
> I write to you with a question on getting CLP running via a Matlab 
> interface in the matlab procedure of clp.m:
> mexclp.dll is called from the clp.m "m-file":
>
> "[x,lambda,status] = 
> mexclp(cmatbeg,cmatind,cmatval,c,b,neq,lb,ub,cmatbegQ,cmatindQ,cmatvalQ,options);"
>
> running clp.m subsequently gives the error message:
>
> "??? Undefined function or method 'mexclp' for input arguments of type 
> 'struct'."
> It seems like Matlab cannot find the library file mexclp.dll, which is 
> in the same directory.  We also tried to run it with mexclp.cpp in the 
> same directory.
>
>
> We tried running it with matlab2009a on a windows vista computer and 
> with matlab2009b on a windows XP computer, both gave the same general 
> error message.
> We have tried adjusting the input argument types. The function worked 
> for a collaborator in another lab. Any thoughts as to what might be 
> going wrong?
> kind regards,
>
> Ben Hebb
> Gill Lab
> University of Colorado at Boulder
>
>
> _______________________________________________
> Clp mailing list
> Clp at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/clp
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/clp/attachments/20100305/7254a6e4/attachment.html>


More information about the Clp mailing list