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

 Respuesta aceptada

Cris LaPierre
Cris LaPierre el 14 de Jun. de 2021

0 votos

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 comentarios

cherry jain
cherry jain el 8 de Jul. de 2021
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 el 8 de Jul. de 2021
Cris LaPierre
Cris LaPierre el 8 de Jul. de 2021
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 el 10 de Jul. de 2021
How can I know what all things I'll have to remove?
Cris LaPierre
Cris LaPierre el 10 de Jul. de 2021
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 el 10 de Jul. de 2021
Thank you so much

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Manage Products en Centro de ayuda y File Exchange.

Productos

Versión

R2019b

Preguntada:

el 14 de Jun. de 2021

Comentada:

el 10 de Jul. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by