Modification of built-in dialog boxes

조회 수: 1 (최근 30일)
Spigge
Spigge 2014년 8월 11일
댓글: Spigge 2014년 8월 11일
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

채택된 답변

Image Analyst
Image Analyst 2014년 8월 11일
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.
  댓글 수: 1
Spigge
Spigge 2014년 8월 11일
Thanks for your reply, what you say seems indeed reasonable. I will give it a try as my experiment does have an underlying purpose.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by