Why won't this optimization code run in Matlab R2018a?

조회 수: 1 (최근 30일)
Learn2Listen
Learn2Listen 2018년 7월 12일
답변: Aamod Garg 2018년 8월 4일
I generated the following optimization code for a mechanical engineering problem a few years ago in Matlab R2013b, and it still solves in that version. But, it will not solve in version R2018a, and it causes Matlab to hang. I have run the code compatability report, and that check found no syntax concerns, errors, warnings, or improvements. Any guidance you can provide would be appreciated.
  댓글 수: 2
Rik
Rik 2018년 7월 13일
Have you installed the update packages for R2018a?
Learn2Listen
Learn2Listen 2018년 7월 13일
편집: Learn2Listen 2018년 7월 13일
No, I had not. That resolved the problem. R2018a now solves the problem. Thank you for your help.

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

채택된 답변

Aamod Garg
Aamod Garg 2018년 8월 4일
Try installing with the update packages. And then you can try to solve this problem on optimization: https://www.mathworks.com/matlabcentral/cody/problems/44718.

추가 답변 (0개)

카테고리

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

태그

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by