Question & Answer
Question
After installing CPLEX Optimization Studio, how do I set up the CPLEX Matlab connector?
Answer
This information is available in <CPLEX_Optimization_Studio>/cplex/readme<OS_type>.html file where <OS_type> refers to the type of your OS, like Windows, UNIX and so on.
Essentially one needs to use MATLAB command 'addpath' to add the folder containing the mex files to MATLAB path like such:
addpath('<CPLEX_Optimization_Studio>/cplex/matlab/<port>')
or
addpath('<CPLEX_Optimization_Studio>/cplex/matlab')
depending on the folder in which you can find the cplexlink mex file.
Please note that you need to use 32-bit CPLEX MATLAB connector if you are using 32-bit MATLAB, even if your operating system is 64-bit.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21626396