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. "

 Accepted Answer

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 Comments

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.

Sign in to comment.

More Answers (0)

Categories

Products

Release

R2019b

Community Treasure Hunt

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

Start Hunting!