Can I deploy a multiwindow app as a web app using MATLAB Web App Server?
7 views (last 30 days)
Show older comments
MathWorks Support Team
on 22 Jul 2024
Edited: MathWorks Support Team
on 5 Sep 2024
This documentation page shows the workflow of creating a multiwindow app with the App Designer.
However, after successfully deploying and launching the app from the web app server, I get errors such as:
Web Apps does not support multiwindow apps
Or:
Error using errordlg (line 2)
Web Apps does not support errordlg.
Can I deploy a multiwindow app as a web app using MATLAB Web App Server?
Accepted Answer
MathWorks Support Team
on 5 Sep 2024
Edited: MathWorks Support Team
on 5 Sep 2024
Multiwindow apps are not supported by web apps.
This means that multiple calls to 'figure' or 'uifigure' are not supported with web apps. In addition, functions that create dialog boxes that appear as a separate window are not supported. These functions include 'dialog', 'msgbox', 'waitbar', 'errordlg', 'warndlg', 'helpdlg', 'listdlg', 'questdlg', 'inputdlg', 'uisetcolor', and 'uisetfont'. However, functions that create dialog boxes within a figure window, such as 'uialert', 'uiconfirm', and 'uiprogressdlg', are supported with web apps.
For more information on the limitations of web apps, please see the following link:
To adjust the multiwindow app to work with MATLAB Web App Server, one possible workaround is to use a tab group to replace windowing.
1. Add a tab group that covers the entire app.
2. Then, you can integrate different windows as different tabs.
3. Rather than opening a new window, you may open the tab with the appropriate content instead.
For more information on tabbed panels, find the documentation page below:
0 Comments
More Answers (0)
See Also
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!