<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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<br>
<br>
/johan (developer (in a distant past) of mexclp)<br>
<br>
Benjamin Hebb skrev 2010-03-05 18:02:
<blockquote
cite="mid:1a7e3d4c1003050902m3a7cb913nd31cae0d4bb8910@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type"
content="text/html; charset=ISO-8859-1">
<div>Hi all,</div>
<div> </div>
<div>I write to you with a question on getting CLP running via a
Matlab interface in the matlab procedure of clp.m:</div>
<div> </div>
<div>mexclp.dll is called from the clp.m "m-file":<br>
<br>
</div>
<div>"[x,lambda,status] =
mexclp(cmatbeg,cmatind,cmatval,c,b,neq,lb,ub,cmatbegQ,cmatindQ,cmatvalQ,options);"</div>
<div><br>
running clp.m subsequently gives the error message:<br>
<br>
</div>
<div>"??? Undefined function or method 'mexclp' for input arguments
of type 'struct'."</div>
<div> </div>
<div>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. <br>
<br>
<br>
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.</div>
<div> </div>
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?<br>
<div> </div>
<div>kind regards,</div>
<div> <br>
Ben Hebb<br>
Gill Lab<br>
University of Colorado at Boulder<br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Clp mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Clp@list.coin-or.org">Clp@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/clp">http://list.coin-or.org/mailman/listinfo/clp</a>
</pre>
</blockquote>
<br>
</body>
</html>