MATLAB Compiler SDK Custom Icon

1 Ansicht (letzte 30 Tage)
ILoveMATLAB
ILoveMATLAB am 3 Sep. 2019
Bearbeitet: ILoveMATLAB am 4 Mai 2022
I deployed .net assembly to my end user using the MATLAB Compiler SDK (Library Compiler) 2019a. Every time my end user runs the assembly the MATLAB icon is displayed in the dialog boxes’ title bar. The end user would like a more unified UI. Also, It currently looks like I'm advertising for Mathworks. How can I change the default icon in the deployed .NET assembly?
  2 Kommentare
Saket Chirania
Saket Chirania am 27 Jan. 2021
Hello,
There are two ways to include a custom icon in a compiled application. One way is to modify the icon after the EXE has been generated using 3rd party software. The other way is to include the icon at compile time using a resource file.
1. In order to associate an icon with an application after the EXE has been created, you will need to use a 3rd party tool to modify the icon. There are many applications available for this purpose. A good place to start is by searching the "Downloads" area of some popular sites like http://www.pcworld.com/ and http://www.cnet.com/.
2. If you wish to include the icon at compile time, you will need to make sure that your compiler supports this. The general process is to create a resource file which points to the icon, compile it with a resource compiler, and then include the compiled resource file when compiling the application.
For more details please contact the technical support team.
ILoveMATLAB
ILoveMATLAB am 4 Mai 2022
Bearbeitet: ILoveMATLAB am 4 Mai 2022
Saket,
My organization blocks a lot of third party software so option 1 is out of the question.
Can you please explain the second option a little more? MATLAB only allow me change the installer icon at compile time. I want to change the icons of the dialog boxes.
Regards,
Lawrence Jacob

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB Compiler SDK finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by