Change the icon used with the product of Matlab compiler.

11 views (last 30 days)
The question line has what I need. I'm using the matlab application compiler to distribute code to several remote sites. It would be nice if the icon used was something that reminded folks of my code. The application compiler doesn't seem to provide me a way to do that. Advice?

Answers (2)

David Short
David Short on 20 Nov 2016
Walter,
Thank you for your response. Before I originally asked my question I came across the thread you mention and was not able to get my answer.
The first case they talk about is after the exe has been created on the distributed machine. That doesn't do me any good since I want the distributable package to have my icon, not the default icon bundled in by the application compiler.
The second case they talk about seems to be what I want...but things have changed since 2012. Matlab's application compiler has been reframed. MS-visual studio will no longer create a C++ windows console application anymore.
So, if that thread answers my question, then I still need some more help in the execution.
  3 Comments
David Short
David Short on 26 Nov 2016
Edited: David Short on 27 Nov 2016
Walter, you've been very helpful answering several of my other questions. Thank you.
Within the application compiler ... on the application information panel ... to the left of the application name edit box is an icon. Left click on that icon and a dialog comes up allowing you to change the icon for your program.
easy peasy - simple as that. I'm very embarrassed I asked the question now.
Documented at https://www.mathworks.com/help/compiler/customizing-the-installer.html
Only.....It's not working for me. Shoot. I'll look more.
Well...That's part of the answer. The start button shows the correct icon. If I make a shortcut on the desktop it shows the old default mathworks icon. When I run the application, no icon shows up in the task bar.
Oh...Silly me. The application has to be installed explicitly as the administrator. ....When that happens, it all works exactly correctly.

Sign in to comment.


Walter Roberson
Walter Roberson on 7 Nov 2016

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!