GUI- "attempt to reference field of non-structure array"
Mostrar comentarios más antiguos
When i try to save my project, there is an error:

i do not understand why appear it, any body can help me please? this is my interface

5 comentarios
Walter Roberson
el 27 de Feb. de 2016
Is there the possibility that you have an R2014b or later "guide" in your MATLAB path, but that you are executing MATLAB R2014a or earlier?
Gustavo Melgar Baldivieso
el 27 de Feb. de 2016
Editada: Gustavo Melgar Baldivieso
el 27 de Feb. de 2016
Walter Roberson
el 27 de Feb. de 2016
This appears to be an internal problem with GUIDE. I would most expect this to occur if you were somehow using R2014a or earlier to execute R2014b or later GUIDE.
Gustavo Melgar Baldivieso
el 27 de Feb. de 2016
Editada: Gustavo Melgar Baldivieso
el 27 de Feb. de 2016
Walter Roberson
el 27 de Feb. de 2016
I would recommend reporting it to Support if you have a software maintenance contract.
Respuestas (1)
Image Analyst
el 27 de Feb. de 2016
0 votos
Make sure you don't have "clear" in any of your functions, which would blow away the handles structure. If not, attach your m-file and .fig file with the paper clip icon. Or else try to figure out why you think layout_ed should have fields called isDirty and getFrame.
Possibly it might also happen if you changed the current folder while you were in MATLAB and then went back to GUIDE. Try changing the current folder in MATLAB to wherever your fig file lives, then go back to GUIDE and try to save it again.
3 comentarios
Gustavo Melgar Baldivieso
el 27 de Feb. de 2016
Gustavo Melgar Baldivieso
el 27 de Feb. de 2016
Editada: Gustavo Melgar Baldivieso
el 27 de Feb. de 2016
Image Analyst
el 27 de Feb. de 2016
OK, good. For future reference, when you type in something here into the box, there are icons above the edit box, like: B, I, Aa, bullet points,{}Code, a chain link, a green and brown frame icon (to insert an image), and a paper clip (to attach files).
Categorías
Más información sobre System Commands en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



