Error in making stand alone program using matlab2013
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
hi everyone, I am using matlab 2013 for making standalone exe file for GUI for tone generator.
after ading main(.m) and additional (.fig) file when I click build option(using deploy command to invoke windows stand alone ) it takes some time and shows the error as below :
The file 'C:\Users\Sunil\Documents\MATLAB\startup.m' is empty (zero bytes long). This file cannot be added to the CTF archive because it will cause an error when the application or library is run. Add valid content to this file if your application or library requires this file. Failed to build CTF file: 'C:\Users\Sunil\Documents\Prj\piano\piano\src\piano.ctf'.
and build fails here. What is the reason for such behavior.
I have attached text file for complte log. Thanks
0 Kommentare
Antworten (1)
Sruthi Ayloo
am 7 Jul. 2014
It looks like the file “C:\Users\Sunil\Documents\MATLAB\startup.m” is empty and MATLAB Compiler cannot compile an empty file, hence the error message. "startup.m" executes commands of your choice when the MATLAB program starts. You could run “which –all startup.m” at the MATLAB command prompt and if there is only one instance of it, deleting the file “C:\Users\Sunil\Documents\MATLAB\startup.m” might resolve the error.
0 Kommentare
Siehe auch
Kategorien
Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!