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

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 日

0 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

リリース

R2018a

タグ

質問済み:

2018 年 7 月 12 日

回答済み:

2018 年 8 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by