MATLAB app designer version error 2019b vs 2017.

I created an app on MATLAB-2019. It does not run when opened in a desktop with 2017 version. Shows error defining property 'Grid Layout'. "Class named 'matlab.ui.container.Gridlayout' is undefined or does not support property. "

 採用された回答

Cris LaPierre
Cris LaPierre 2021 年 6 月 14 日

0 投票

Grid Layout was not available in 2017.
You could try using the 'Save Copy As' option. Select 'Save as type' and choose the version you would like to save it in (R2016b, R2017a, & R2017b are the options).
Another option is to save your app as a standalone executable. This way, users will not need to even have MATLAB installed to run your app.

6 件のコメント

cherry jain
cherry jain 2021 年 7 月 8 日
I do not want to convert it in standalone executable. Have to give it to my teammates for use, who have the license for 2017b. And Save as 2017b did not work.
cherry jain
cherry jain 2021 年 7 月 8 日
Cris LaPierre
Cris LaPierre 2021 年 7 月 8 日
The message is pretty clear. To save as 17b you will have to remove the unsupported elements. If you have access to MATLAB through your school, your teammate could also update their version.
cherry jain
cherry jain 2021 年 7 月 10 日
How can I know what all things I'll have to remove?
Cris LaPierre
Cris LaPierre 2021 年 7 月 10 日
I don't know of an automated way of generating a list, but the error message you shared above is one way.
You can use the archived documentation to determine which components were available in R2017a and make sure your app is only using those.
cherry jain
cherry jain 2021 年 7 月 10 日
Thank you so much

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeManage Products についてさらに検索

製品

リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by