cannot add path on mac
14 次查看(过去 30 天)
显示 更早的评论
why I get this error ??
>> addpath '/Users/maherheal/Applications/CPLEX_Studio128/cplex/matlab'
Warning: Name is nonexistent or not a directory:
/Users/maherheal/Applications/CPLEX_Studio128/cplex/matlab
> In path (line 109)
In addpath (line 86)
**********************************************************************
Cplex studio is installed. I cannot even add the Applications folder in addpath
0 个评论
回答(2 个)
Sulaymon Eshkabilov
2022-4-18
Maybe in mac, this way works:
addpath(genpath('/Users/maherheal/Applications/CPLEX_Studio128/cplex/matlab'))
0 个评论
Maher
2022-4-19
1 个评论
Walter Roberson
2022-4-19
I notice the posting https://www.mathworks.com/matlabcentral/answers/6291-call-cplex-from-matlab#answer_666597 in which @Khyathi Mishra indicated,
"You must have IBM CPLEX OPTIMIZATION STUDIO 12.10 version
the versions released after that doesnt have files related to interfacing matlab with cplex."
(I myself do not know whether IBM dropped support after that, or if support was added back in later versions.)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!