call cplex from matlab

33 ビュー (過去 30 日間)
Yasmin Tamimi
Yasmin Tamimi 2011 年 4 月 27 日
How can I call cplex from matlab? And what versions of matlab and cplex should I have inorder to do so?

採用された回答

yekdane  khattara
yekdane khattara 2013 年 12 月 21 日
編集済み: Walter Roberson 2018 年 5 月 28 日
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 件のコメント
Del
Del 2014 年 1 月 3 日
編集済み: Walter Roberson 2017 年 12 月 24 日
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 2017 年 12 月 24 日
Thank you!

サインインしてコメントする。

その他の回答 (1 件)

Khyathi Mishra
Khyathi Mishra 2021 年 4 月 4 日
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 件のコメント
Pavan chandra Mandava
Pavan chandra Mandava 2021 年 7 月 11 日
Do you know which version of matlab is compatible with Cplex 12.10 Thhank you

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMATLAB Report Generator についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by