필터 지우기
필터 지우기

cannot add path on mac

조회 수: 45 (최근 30일)
Maher
Maher 2022년 4월 18일
댓글: Walter Roberson 2022년 4월 19일
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

답변 (2개)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2022년 4월 18일
Maybe in mac, this way works:
addpath(genpath('/Users/maherheal/Applications/CPLEX_Studio128/cplex/matlab'))

Maher
Maher 2022년 4월 19일
I got the following error Cplex is not recognized
>> addpath(genpath('/Users/maherheal/Applications/CPLEX_Studio128/cplex/matlab/x86-64_osx'))
>> Cplex
Unrecognized function or variable 'Cplex'.
Did you mean:
>> complex
same error when I use OS path
>> addpath(genpath('/Mac OS/Applications/CPLEX_Studio128/cplex/matlab/x86-64_osx'))
>> Cplex
Unrecognized function or variable 'Cplex'.
Did you mean:
>> complex
  댓글 수: 1
Walter Roberson
Walter Roberson 2022년 4월 19일
"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 CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by