Unable to find a valid PropName for waitfor with a Matlab app
Using app designer, I have a main app that calls a form. From the main app, I instantiate the form
app.FormApp = FormApp(app);
I can halt execution by waiting for the form to be deleted
waitfor(app.formApp);
My desire is to keep the form open and repopulate from a loop in the main app. However, setting a public property on FormApp and calling it fails. I.e.
waitfor(app.formApp, app.formApp.pauseLoop, false)
throws "Error using waitfor
Invalid property." I’ve tried lots of combinations trying to get a property of the FormApp that waitfor will use. Any help appreciated.
I’m using R2023b Update 5 on Windows 10.Using app designer, I have a main app that calls a form. From the main app, I instantiate the form
app.FormApp = FormApp(app);
I can halt execution by waiting for the form to be deleted
waitfor(app.formApp);
My desire is to keep the form open and repopulate from a loop in the main app. However, setting a public property on FormApp and calling it fails. I.e.
waitfor(app.formApp, app.formApp.pauseLoop, false)
throws "Error using waitfor
Invalid property." I’ve tried lots of combinations trying to get a property of the FormApp that waitfor will use. Any help appreciated.
I’m using R2023b Update 5 on Windows 10. Using app designer, I have a main app that calls a form. From the main app, I instantiate the form
app.FormApp = FormApp(app);
I can halt execution by waiting for the form to be deleted
waitfor(app.formApp);
My desire is to keep the form open and repopulate from a loop in the main app. However, setting a public property on FormApp and calling it fails. I.e.
waitfor(app.formApp, app.formApp.pauseLoop, false)
throws "Error using waitfor
Invalid property." I’ve tried lots of combinations trying to get a property of the FormApp that waitfor will use. Any help appreciated.
I’m using R2023b Update 5 on Windows 10. app designer, uifigure, waitfor MATLAB Answers — New Questions