MATLAB: Deploytool, which folder to distribute

MATLABMATLAB Compiler

After packaging, a few folders produced. Which is the right folder to distribute, assuming the user doesn't have Matlab installed on their computer. Deploytool was set to download the runtime lib. I guess it's the "for_distribution" but it has only one file in it.
Thanks.

Best Answer

The for_redistribution folder bundles your application with a web-downloading runtime installer. After running MyAppInstaller_web.exe, your user will have get_scan_info.exe in the installation folder.
The for_redistribution_files_only folder contains only the minimum files necessary to run the application: get_scan_info.exe. This works if you know your user has the MATLAB runtime installed already.