Modification of built-in dialog boxes
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Spigge
am 11 Aug. 2014
Kommentiert: Spigge
am 11 Aug. 2014
As an experiment, I made some modifications to the built in error dialog box function (by typing edit errordlg ) and saved it under the same name. If I then call the errordlg function from a script, my changes appear as the were intended. However, if I compile the script and run it as an executable, the default appearance of the dialog box is restored. Out of curiosity, why is this so?
Spigge
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 11 Aug. 2014
It's using the one built-into and embedded in the MCR installer, not the one you modified. If you put the file into the same folder as your main executable, then I think it should use that in preference to the default one, both in your MATLAB and your target user who is using MCR.
Weitere Antworten (0)
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!