MATLAB Answers

Icons for pinned SimBiology(R) graphics

1 view (last 30 days)
Jim Bosley
Jim Bosley on 7 Nov 2019
Edited: Jim Bosley on 8 Nov 2019
When building models graphically usign the dashboard, one can pin graphical elements. This prevents inadvertently messing up a carefully curated graphical model.
There is an icon that is shown for pinned elements, and no icon for unpinned ones. Two questions:
1) Can I change the pinned icon to something less obtrusive, that is, a bitmap pic of my choice?
2) Could I reverse the issue and have no icons for locked elements, but an icon of my choice for unlocked ones?

  2 Comments

Jim Bosley
Jim Bosley on 8 Nov 2019
I've found a .png file that has the "pinned" icon on it - but the color is red, not grey.
It is in MATLAB\R2019b\toolbox\simbio\web\analysisapp\release\simbio\images
The filename is ind_pinned.gif. Changing it does not change the icon used on the model graphics.
After a bit more searching I'm coming to the conclusion that the icon is hard-coded into the program. Can MathWorks confirm?
The current icon is pretty obtrusive. At a minimum I'd like to be able to turn those pinned icons off.
Jim Bosley
Jim Bosley on 8 Nov 2019
As to the last point, found this:
Simbiology / Preferences / Indicators
Show indicator when a block is pinned checkbox.
I'm good.

Sign in to comment.

Accepted Answer

Jim Bosley
Jim Bosley on 8 Nov 2019
Edited: Jim Bosley on 8 Nov 2019
Repeating as a partial answer:
As to the last point, found this:
Simbiology / Preferences / Indicators
Show indicator when a block is pinned checkbox.
Note that when this box is unchecked, the pinning icon is automagically turned off for most but not all, SimBiology graphical constructs. Labels are still shown as pinned. To turn those icons off, I unchecked the box in preferences and then unpinned and repinned. This seemed to work. I suspect that saving and reopening the model would work, too.

  0 Comments

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!