Block Icons on custom Library

2 views (last 30 days)
Niklas Humberg
Niklas Humberg on 27 Oct 2024
Answered: Niklas Humberg on 27 Oct 2024
Hello Everyone,
I have got a problem with a custom block library that i want to use. I build the library and found it to be in this state:
Than i started to add icons to the block, for example i used the existing icon for a fixed displacement pump. When i use the "add icon" button, the icon editor display the blank icon area with the right port configuration. So i imported the svg and edited it a little bit to fit my port configuration. When i then save the icon with "save to block" it somehow uses this icon for every other block aswell.
So i wanted to start changing the other icons, but when i click on edit icon, the icon editor does noch display the right port configuration but the one from the pump -.-
What am i doing wrong?

Answers (1)

Niklas Humberg
Niklas Humberg on 27 Oct 2024
I have found a solution. The Fault only occurs, when i click the preview button in the icon editor.
When i just safe the icon, nothing is displayed at first. I then close the library and build it again. Then the right icon is display. This is kind of a work around but for know i can deal with it.

Categories

Find more on Simulink Environment Customization in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!