Change the icon used with the product of Matlab compiler.

12 次查看(过去 30 天)
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?

回答(2 个)

David Short
David Short 2016-11-20
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 个评论
David Short
David Short 2016-11-26
编辑:David Short 2016-11-27
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.

请先登录,再进行评论。


Walter Roberson
Walter Roberson 2016-11-7

类别

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