Error executing .fig file during GUI creation
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I'm making a GUI, and there's no problem if I run the .m file, but there's a problem if I run it through the guide's execution button(or .fig file).
Changes in the .fig and .m files are still linked to each other, and changes in the .fig are made normally in the .m file.
but, the error still occurs only in .fig file.
The error message is as follows : This type of variable does not support point indexing. / matlab.graphics.internal.figfile.FigFile/read
Is there a solution?
0 Commenti
Risposta accettata
Rik
il 28 Mar 2022
For general advice and examples for how to create a GUI (and avoid using GUIDE), have look at this thread.
I would strongly recommend writting a GUI from the ground up yourself. GUIDE will generate a lot of code that isn't required, hiding where you should make your edits. It also requires you to use a fig file together with your m file, and any changes to either will break everything.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!