Can I deploy a multiwindow app as a web app using MATLAB Web App Server?
5 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2024 年 7 月 22 日
編集済み: MathWorks Support Team
2025 年 6 月 4 日
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?
採用された回答
MathWorks Support Team
2025 年 5 月 30 日
編集済み: MathWorks Support Team
2025 年 6 月 4 日
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 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!