Block Icons on custom Library

7 visualizaciones (últimos 30 días)
Niklas Humberg
Niklas Humberg el 27 de Oct. de 2024 a las 9:48
Respondida: Niklas Humberg el 27 de Oct. de 2024 a las 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?

Respuestas (1)

Niklas Humberg
Niklas Humberg el 27 de Oct. de 2024 a las 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.

Categorías

Más información sobre Simulink Environment Customization en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by