How do I call a function when the GUI has finished loading.
12 次查看(过去 30 天)
显示 更早的评论
I have a working GUI app, based on a single screen.
To improve the usability, I wish to populate various UI tables and button options at startup. I have a function which will do this successfully.
However, I can only get this function to work as a result of clicking a configured button on the GUI.
I have tried to execute the function from startupFcn but I get errors... eg 'Reference to a cleared variable app'.
My assumption is that the GUI has not fully loaded ....
How can I trigger this function automatically at startup (rather than the error prone and ugly option for the user to press a button.).
I have spent days and days trying to find a solution but to no avail.
7 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!