Azzera filtri
Azzera filtri

Can I deploy a multiwindow app as a web app using MATLAB Web App Server?

6 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 26 Lug 2024 alle 0:00
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', '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:

Più risposte (0)

Categorie

Scopri di più su Web Apps in Help Center e File Exchange

Prodotti


Release

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by