cannot add path on mac

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

Réponses (2)

Sulaymon Eshkabilov
Sulaymon Eshkabilov le 18 Avr 2022

0 votes

Maybe in mac, this way works:
addpath(genpath('/Users/maherheal/Applications/CPLEX_Studio128/cplex/matlab'))
Maher
Maher le 19 Avr 2022

0 votes

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 commentaire

Walter Roberson
Walter Roberson le 19 Avr 2022
"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.)

Connectez-vous pour commenter.

Catégories

Produits

Version

R2022a

Tags

Question posée :

le 18 Avr 2022

Commenté :

le 19 Avr 2022

Community Treasure Hunt

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

Start Hunting!

Translated by