Error executing .fig file during GUI creation

2 visualizzazioni (ultimi 30 giorni)
은석 최
은석 최 il 28 Mar 2022
Risposto: Rik il 28 Mar 2022
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?

Risposta accettata

Rik
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.

Più risposte (0)

Categorie

Scopri di più su Migrate GUIDE Apps 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!

Translated by