Why does the "StartupFcn" only run once for Single Running Instance apps?
Show older comments
I am in the process of migrating a GUIDE app to App Designer. I had had my GUIDE app set to only allow a single running instance (singleton), but its "OpeningFcn" would still execute every time I called the app, even if it was already open. After migrating, the "StartupFcn" of my single running instance App Designer app only executes once. I am using MATLAB R2020b or later, which is when the "Single Running Instance" was added.
Is this behavior intended, and is there any way to execute the "StartupFcn" for my single running instance App Designer app more than once?
Accepted Answer
More Answers (0)
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!