GUI- "attempt to reference field of non-structure array"
Afficher commentaires plus anciens
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 commentaires
Walter Roberson
le 27 Fév 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
le 27 Fév 2016
Modifié(e) : Gustavo Melgar Baldivieso
le 27 Fév 2016
Walter Roberson
le 27 Fév 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
le 27 Fév 2016
Modifié(e) : Gustavo Melgar Baldivieso
le 27 Fév 2016
Walter Roberson
le 27 Fév 2016
I would recommend reporting it to Support if you have a software maintenance contract.
Réponses (1)
Image Analyst
le 27 Fév 2016
0 votes
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 commentaires
Gustavo Melgar Baldivieso
le 27 Fév 2016
Gustavo Melgar Baldivieso
le 27 Fév 2016
Modifié(e) : Gustavo Melgar Baldivieso
le 27 Fév 2016
Image Analyst
le 27 Fév 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).
Catégories
En savoir plus sur Environment and Settings dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



