uiwait function blocking update of uitables in GUIDE

3 次查看(过去 30 天)
I have GUI (made in GUIDE) that allows a user to configure a bunch of settings that will be used in the operation of a script. Part of this operation is the formatting of a table that will be among the outputs which includes things like phase names, file locations, voltages, etc. Because I need to consider the output of the GUI, I am using uiwait in the OpeningFcn and uiresume in a "Generate" button that allows the script that calls the GUI to continue.
However, I have found that if I use the uiwait function, the uitables within the GUI no longer properly update. They will display the correct number of columns and rows, but no content. If I do not use the uiwait function, all updates properly. I need the output from the GUI so I need to use uiwait, but I also need to be able to see the tables.
Is there someway I can work around/mitigate this behaviour?
Thanks in advance.

采纳的回答

Jackson B
Jackson B 2017-12-6
Figured out my problem. answering it here just in case someone else has the same issue down the road. I realized that This issue would occur if I ran the GUI by clicking the "RUN" button from GUIDE. when called form the command window, all tables update properly and as expected.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by