call cplex from matlab

15 Ansichten (letzte 30 Tage)
Yasmin Tamimi
Yasmin Tamimi am 27 Apr. 2011
How can I call cplex from matlab? And what versions of matlab and cplex should I have inorder to do so?

Akzeptierte Antwort

yekdane  khattara
yekdane khattara am 21 Dez. 2013
Bearbeitet: Walter Roberson am 28 Mai 2018
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
  3 Kommentare
Del
Del am 3 Jan. 2014
Bearbeitet: Walter Roberson am 24 Dez. 2017
Never mind! I used
>>addpath(' C:\Program Files\IBM\ILOG\CPLEX_Studio126\cplex\matlab\x64_win64')
instead of
>>addpath C:\Program Files\IBM\ILOG\CPLEX_Studio126\cplex\matlab\x64_win64
and everything worked perfectly fine :)
Priya Ranganathan
Priya Ranganathan am 24 Dez. 2017
Thank you!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Khyathi Mishra
Khyathi Mishra am 4 Apr. 2021
You must have IBM CPLEX OPTIMIZATION STUDIO 12.10 version
the versions released after that doesnt have files related to interfacing matlab with cplex.
  1 Kommentar
Pavan chandra Mandava
Pavan chandra Mandava am 11 Jul. 2021
Do you know which version of matlab is compatible with Cplex 12.10 Thhank you

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by