MATLAB Compiler SDK Custom Icon

2 views (last 30 days)
ILoveMATLAB
ILoveMATLAB on 3 Sep 2019
Edited: ILoveMATLAB on 4 May 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 Comments
Saket Chirania
Saket Chirania on 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 on 4 May 2022
Edited: ILoveMATLAB on 4 May 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

Sign in to comment.

Answers (0)

Categories

Find more on Get Started with MATLAB Compiler SDK in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!