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.
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 ascomputer ,ispc ,isunix ,ismac , andlistfonts , return server-side information, not client-side information. |
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 usinguigetdir is not supported. |
Saving and printing | The |
Plotting functions | Thewordcloud function is not supported. |
Axes toolbar interactions | Data brushing is not supported. |
Copy and paste | Copying and pasting text to and from the system clipboard using theclipboard function is not supported. |
Project features | Project features such asmatlab.project.createProject. andmatlab.project.loadProject are not supported. |
OLE Automation | Theactxserver function is not supported. |
This unsupported functionality is in addition to App Designer graphics limitations. For more information, seeDisplay Graphics in App Designer.