Skip to main content

Installation and setup of the CPLEX Matlab connector


Technote (FAQ)


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>')

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

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

IBM ILOG CPLEX Optimization Studio

Installation


Software version:
12.2, 12.2.0.1, 12.3, 12.4, 12.5


Operating system(s):
Linux, Mac OS, Windows


Software edition:
Edition Independent


Reference #:
1626396


Modified date:
2013-02-22

Translate my page

Content navigation