Can I deploy a multiwindow app as a web app using MATLAB Web App Server?
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 22 de Jul. de 2024 a las 0:00
Editada: MathWorks Support Team
hace alrededor de 19 horas
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?
Respuesta aceptada
MathWorks Support Team
el 26 de Jul. de 2024 a las 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:
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Web Apps en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!