Web App Limitations and Unsupported Functionality
When packaging a MATLAB® app into a web app consider the following functional limitations. Using certain functions may result in an error or unexpected behavior.
Behavior Differences
Because a deployed web app is hosted on a server, functions that use system information have access only to server-side information, not client-side information. In addition, the web app is displayed in a browser window as opposed to a separate figure window. As a result, certain functions and properties behave differently in a deployed web app than on your local system. This table lists some of the differences that are most relevant to app building workflows.
Category | Limitations |
---|---|
Graphics root object properties | The |
Figure properties | The You can specify the initial figure size
using the |
File dialog boxes | Although you can upload and download files from a local
system in a deployed web app using
|
System commands | Commands that return system information, such as
computer , ispc ,
isunix , ismac , and
listfonts , return server-side information,
not client-side information. |
Audio and video functions | Functions that connect to hardware such as
webcam require SSL to be enabled on the
server to get a secure URL. |
Unsupported Functionality
Some functionality is not supported in deployed web apps. This table lists the unsupported functionality that is most relevant to app building workflows.
Category | Not Supported |
---|---|
Multiwindow apps | Multiple calls to In addition, functions that create dialog
boxes that appear as a separate window are not supported. These
functions include |
File dialog boxes | Opening a folder selection dialog box on the client using
uigetdir is not supported. |
Saving and printing | The |
Plotting functions | The wordcloud function is not
supported. |
Axes toolbar interactions | Before R2023b: Data brushing is not supported. |
Copy and paste | Copying and pasting text to and from the system clipboard using
the clipboard function is not
supported. |
Project features | Project features such as
matlab.project.createProject and
matlab.project.loadProject are not
supported. |
OLE Automation | The actxserver function is not
supported. |
This unsupported functionality is in addition to App Designer graphics limitations. For more information, see Display Graphics in App Designer.