Main Content

App Packaging Dependency Analysis

When you create an app package, MATLAB® analyzes your main file and attempts to include all the files that your app uses. However, MATLAB is not guaranteed to find every dependent file. It does not find files for functions that your code references as character vectors (for instance, as arguments to eval, feval, and callback functions). In addition, MATLAB can include some files that the main file never calls when it runs.

Dependency analysis searches for the following types of files:

  • Executable files, such as MATLAB program files, P-files, Fig-files, and MEX-files.

  • Files that your app accesses by calling standard and low-level I/O functions. These dependent files include text files, spreadsheets, images, audio, video, and XML files.

  • Files that your app accesses by calling any of these functions: audioinfo, audioread, csvread, daqread, dlmread, fileread, fopen, imfinfo, importdata, imread, load, matfile, mmfileinfo, open, readtable, type, VideoReader, xlsfinfo, xlsread, xmlread, and xslt.

Dependency analysis does not search for Java® classes, .jar files, or files stored in a scientific format such as NetCDF or HDF. Click Add files/folders in the Package Apps dialog box to add these types of files manually.

See Also