Icons for pinned SimBiology(R) graphics

2 次查看(过去 30 天)
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 个评论
Jim Bosley
Jim Bosley 2019-11-8
编辑:Jim Bosley 2019-11-8
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 2019-11-8
As to the last point, found this:
Simbiology / Preferences / Indicators
Show indicator when a block is pinned checkbox.
I'm good.

请先登录,再进行评论。

采纳的回答

Jim Bosley
Jim Bosley 2019-11-8
编辑:Jim Bosley 2019-11-8
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 个)

类别

Help CenterFile Exchange 中查找有关 Scan Parameter Ranges 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by