필터 지우기
필터 지우기

oplrun command does not work

조회 수: 3 (최근 30일)
Zi
Zi 2022년 3월 25일
댓글: Zi 2022년 3월 27일
Does anyone know why my "oplrun command" does not run my cplex model?
I wrote two following lines in matlab and expected it to run my cplex model. But it only opens IBM ILGO CPLEX without runing the model.
command = 'oplrun model.mod model.dat';
[status, cmdout] = system(commandx);
Any help is greatly appreciated.
Thanks.
  댓글 수: 2
Walter Roberson
Walter Roberson 2022년 3월 25일
Could you confirm that model.mod and model.dat are in the current directory at the time you system() ?
And could you confirm that oplrun is in your Windows path ?
Zi
Zi 2022년 3월 27일
Thank you so much @Walter Roberson. Directory was the problem.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by