MATLAB: Call cplex from matlab

cplexMATLAB

How can I call cplex from matlab? And what versions of matlab and cplex should I have inorder to do so?

Best Answer

add the path who you are installed cplex
>> addpath ('C:\Program Files\IBM\ILOG\CPLEX_Studio_Academic123\cplex\matlab\x64_win64')
and save the path
>>savepath
and same way for running the examples
>>addpath ('C:\Program Files\IBM\ILOG\CPLEX_Studio_Academic123\cplex\examples\src\matlab')
>>savepath