GUI- "attempt to reference field of non-structure array"
Ältere Kommentare anzeigen
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 Kommentare
Walter Roberson
am 27 Feb. 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
am 27 Feb. 2016
Bearbeitet: Gustavo Melgar Baldivieso
am 27 Feb. 2016
Walter Roberson
am 27 Feb. 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
am 27 Feb. 2016
Bearbeitet: Gustavo Melgar Baldivieso
am 27 Feb. 2016
Walter Roberson
am 27 Feb. 2016
I would recommend reporting it to Support if you have a software maintenance contract.
Antworten (1)
Image Analyst
am 27 Feb. 2016
0 Stimmen
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 Kommentare
Gustavo Melgar Baldivieso
am 27 Feb. 2016
Gustavo Melgar Baldivieso
am 27 Feb. 2016
Bearbeitet: Gustavo Melgar Baldivieso
am 27 Feb. 2016
Image Analyst
am 27 Feb. 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).
Kategorien
Mehr zu Environment and Settings finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



