Block Icons on custom Library

조회 수: 24 (최근 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