issues with the Matlab compiler
1 view (last 30 days)
Show older comments
I am a novice in the use of Matlab and its applications, so please bare with me :) (+- 1.5 year experience) I am trying to compile a GUI with a set of functions that are called by the GUI using Matlab's Application compiler. I have selected the GUI.m file as my main file and the app selects all functions that are required succesfully to the 'required to run' box. As soon as this is added I receive the following warning sign from Matlab: Note I have followed the tutorial of Matlab as provided on http://nl.mathworks.com/help/releases/R2014b/compiler/compile-a-standalone-application-with-the-standalone-compiler-app_bt1uimu-1.html
Below printscreen shows the appbuilder with all required boxes filled according to my understanding.
Warning: None of the input files or functions may be used as the main function or as a library function in target MATLAB. The parts list may
be empty. See the exclusion list for an explanation of why each file was excluded.
> In Completion>Completion.initializeRootSet at 1240
In Completion>Completion.Completion at 1601
In requirements at 166
In appbuilder.appbuilder>appbuilder.getDependencyList at 173
After running the compiler (taking roughly 25 minutes) I try to run the tool and nothing happens. Is there anything I am overlooking, which is described in the warning message.
I am running Matlab R2013b (64bit) on windows 7. I have Microsoft .net framework 4.0 installed.
0 Comments
Answers (1)
Image Analyst
on 7 Jan 2015
Apparently it doesn't think the badly-named GUI.m is a valid m-file. Can you run that with the green triangle with no problem?
2 Comments
Image Analyst
on 7 Jan 2015
The name per se is not a problem - it's just that it's not very descriptive of whatever your program does. Calling it networktool.m won't fix the original problem, which is that MATLAB does not think that, or any of the other files you included, can be run as a main program. So I'm surprised that you can run it by itself with the green triangle "Run" button and it works fine. I'd call tech support on this one. You paid a bundle for it so might as well take advantage of it.
See Also
Categories
Find more on Application Deployment 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!