MATLAB: Matlab compiler shared resources and helper files

compilerMATLAB Compilershared resources and helper files

I have some matlabfiles which must be a standalone. Because I need also other files I have a description to do it: Add folder X to shared resources and helper files (this is the same as the -a option in the command line) Further, the folders Y and Z must be in the Matlab path.
I know I can use matlab compiler. But I saw that shared resources and helper files is for older versions of matlab. Can anyone tell me what I have to do with these folder X (if I use the application matlab compiler) and what they mean with adding folder Y and Z to the matlab path?

Best Answer

  1. You need to add folder X in the "Files required for your application to run" section below the "Application Information" GUI. See attached image.
  2. Before running deploytool, etc, add paths to Y and Z to matlab path:
addpath('C:\Documents\whatever\Y')
addpath('C:\Documents\whatever2\Z')