When you update the files included in a .mlappinstall file, you recreate and overwrite the original app. You cannot maintain two versions of the same app.
To update files in an app you created:
In the Current Folder browser, navigate to the folder containing the project file (.prj) that MATLAB® created when you packaged the app.
By default, MATLAB writes the .prj file to the folder that was the current folder when you packaged the app.
From the Current Folder browser, double-click the project file for your app package, appname.prj
The Package App dialog box opens.
Adjust the information in the dialog box to reflect your changes by doing any or all of the following:
If you made code changes, add the main file again, and refresh the files included through analysis.
If your code calls additional files that are not included through analysis, add them.
If you want anyone who installs your app over a previous installation to be informed that the content is different, change the version.
Version numbers must be a combination of integers and periods, and can include up to three periods — 220.127.116.11, for example.
Anyone who attempts to install a revision of your app over another version is notified that the version number is changed and has the opportunity to continue or cancel the installation.