在Matlab中调用CPLEX时出错

在Matlab中调用CPLEX时出错,matlab,cplex,Matlab,Cplex,我使用的是带win7(32位)和Matlab2009a(32位)的cplex12.5(x86-32)学术版。 我在Matlab中使用cplexlp函数尝试了一个简单的线性问题。出现以下错误: Error using ==> cplexlp at 254 Invalid MEX-file 'C:\Program Files\IBM\ILOG\CPLEX_Studio_Preview125\cplex\matlab\x86_win32\cplexlink125.mexw32': The spe

我使用的是带win7(32位)和Matlab2009a(32位)的cplex12.5(x86-32)学术版。 我在Matlab中使用cplexlp函数尝试了一个简单的线性问题。出现以下错误:

Error using ==> cplexlp at 254
Invalid MEX-file 'C:\Program
Files\IBM\ILOG\CPLEX_Studio_Preview125\cplex\matlab\x86_win32\cplexlink125.mexw32': The specified module could not be found.
有什么问题吗?有办法解决吗


谢谢你提供的任何信息

此错误通常表示路径中缺少或不存在依赖库。通过在dependency walker中打开mex文件,可以找到缺少的内容。Google for dependency.exe下载dependency walker。

您是否将C/C++文件编译为mex?