Error loading files prompt in application compiler

2 views (last 30 days)
I want to make an executable file from a gui,but a message box with "error loading files" is popping.please suggest a solution as soon as possible. Thanks
  5 Comments
Image Analyst
Image Analyst on 20 Mar 2018
WHAT script? Like I asked below, do you have a script to do the compilation (like one with the mcc command in it), or are you talking about the script - your program - that you are trying to compile into an executable?
Please show us the few lines around the uigetfile() and fullfile() calls, or else call the Mathworks for help (which honestly will be your fastest route to a solution).

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 17 Mar 2018
Do you have a compilation script, like an m-file that has "mcc" commands in it with files listed? Are you sure you're giving the full path (folder + base filename) of all the files you want to include?
Run a dependency report on your main m-file by clicking on the little down arrow in the upper left corner of the Current Folder title bar. If files are missing, they should be shown in the dependency report.

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!