Originally posted by: SystemAdmin
Given that you are adding the Matlab paths of both CPLEX 12.2 and 12.3, the version that will actually be used when instantiating a Cplex object would depend on which version's shared dll's appear first in your 'Path' variable. You could check this by printing the value of the 'Path' environment variable in the 'Command window' via the following line:
getenv('Path')
I suspect that 12.3 appears before 12.2 in there, resulting in 12.3's Cplex object being used and thus 12.3 being printed for the cplex.getVersion command.
#CPLEXOptimizers#DecisionOptimization