Taskbar and Figure Icon for deployed standalone EXE

I made a standalone EXE using the Application compiler (R2017a). I selected custom icons, however the figure icon and taskbar icons are still a Matlab icon. I've seen various posts indicating that this is required by the MCR license. However, another annoying feature is that the EXE cannot be pinned to the taskbar. Rather, upon closing the EXE the pin will just link to Mathworks website.
These issues (as well as the bad splash window timing, which makes it look like nothing is happening for a while after opening) have been reported since 2010: https://blogs.mathworks.com/loren/2010/11/18/deploying-standalone-applications/
Is Mathworks ever planning on addressing these? It seems a "Built with Matlab" stamp and link to website in a splash screen should be sufficient for licensing.
I have seen this link but it does not address the taskbar and figure icons: https://www.mathworks.com/matlabcentral/answers/101376-how-do-i-associate-a-custom-icon-with-an-exe-compiled-with-the-matlab-compiler-4-0-r14
Am I just missing something or are these real limitations?

5 Comments

I have no problem pinning to the taskbar for my built exe.
Are you using Windows 10? Did you pin it after opening the EXE or did you find the StartMenu Icon, right click>>More>>Pin to taskbar? The latter doesn't do anything on my system. The former just links to the Matlab website
It works whether I open it then pin it, drag the icon from the desktop to the taskbar or do it from the start menu in Windows 10
What Matlab version are you running?
The inabiity to control the Figure Icon that is displayed on the Windows taskbar gets really annoying when you have more than one compiled program running. They all look the same on the taskbar. This is where Malab stops looking like a professional development platform. I do hope The MathWorks will address this. I agree with Joris that a better solution would be a "Built with Matlab" statement on the splash screen.

Sign in to comment.

Answers (2)

I found a workaround. Create a shortcut to the .exe location (C:\Program Files\<COMPANY>\<APP>\application\<app>.bin). That can be pinned.

1 Comment

That's probably what I was doing actually, I always create a desktop shortcut so it was that that I dragged to the taskbar and I guess my one in the start menu was also a shortcut

Sign in to comment.

Is there any progress regarding the taskbar or titlebar icons?

Categories

Find more on Programming in Help Center and File Exchange

Asked:

on 6 Apr 2018

Commented:

on 26 Nov 2019

Community Treasure Hunt

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

Start Hunting!