Block Icons on custom Library

7 次查看(过去 30 天)
Niklas Humberg
Niklas Humberg 2024-10-27,9:48
回答: Niklas Humberg 2024-10-27,10:30
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?

回答(1 个)

Niklas Humberg
Niklas Humberg 2024-10-27,10:30
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.

类别

Help CenterFile Exchange 中查找有关 Simulink Environment Customization 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by