How can I deploy an additional folder next to a compiled MATLAB application executable?

I want to compile an application with compile app (standaloneApplicationCompiler) and deploy a folder with the installed application. My goal is to place that folder in the same installation directory as the executable, for example:
  C:Program Filesxxx
  |- appname.exe
  |- folder_name
The "Files Packaged" in the compile app in the Installer section can include extra files, but it does not provide a standard way to expand a folder into the same path as the executable after installation. I also tried using "copyfile in" the main script, but it was difficult to identify the packaged files at runtime.I want to compile an application with compile app (standaloneApplicationCompiler) and deploy a folder with the installed application. My goal is to place that folder in the same installation directory as the executable, for example:
  C:Program Filesxxx
  |- appname.exe
  |- folder_name
The "Files Packaged" in the compile app in the Installer section can include extra files, but it does not provide a standard way to expand a folder into the same path as the executable after installation. I also tried using "copyfile in" the main script, but it was difficult to identify the packaged files at runtime. I want to compile an application with compile app (standaloneApplicationCompiler) and deploy a folder with the installed application. My goal is to place that folder in the same installation directory as the executable, for example:
  C:Program Filesxxx
  |- appname.exe
  |- folder_name
The "Files Packaged" in the compile app in the Installer section can include extra files, but it does not provide a standard way to expand a folder into the same path as the executable after installation. I also tried using "copyfile in" the main script, but it was difficult to identify the packaged files at runtime. standaloneapplicationcompiler, executable, folder MATLAB Answers — New Questions

​

Leave a Reply

Your email address will not be published. Required fields are marked *