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

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.
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.
How can I know what all things I'll have to remove?
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.
Thank you so much

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Manage Products에 대해 자세히 알아보기

제품

릴리스

R2019b

질문:

2021년 6월 14일

댓글:

2021년 7월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by