Installation and setup of the CPLEX Matlab connector

Technote (FAQ)


After installing CPLEX Optimization Studio, how do I set up the CPLEX Matlab connector?


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:


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.

Rate this page:

(0 users)Average rating

Add comments

Document information

More support for:

IBM ILOG CPLEX Optimization Studio

Software version:

12.2,, 12.3, 12.4, 12.5

Operating system(s):

Linux, Mac OS, Windows

Software edition:

Edition Independent

Reference #:


Modified date:


Translate my page

Machine Translation

Content navigation