Error executing .fig file during GUI creation
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Rik
le 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!