How can I draw a mesh into a block mask/ icon?

3 次查看(过去 30 天)
Hello, I have a masked Simulink block. Now I want to draw a mesh into the icon. Unfortunately the mesh is drawn into an own window, instead of into the icon. "plot" on the other side works correctly.
Is there a solution to this?
Thanks in Advance Torsten Knodt

采纳的回答

Lucas Lebert
Lucas Lebert 2017-2-3
Hi Torsten, the mesh command is not supported as a Mask icon drawing command. You can find a list of supported commands in the following link under "Mask icon drawing commands": https://www.mathworks.com/help/releases/R2016b/simulink/gui/mask-editor-overview.html#bu04cv4 As a workaround you can plot the mesh in MATLAB, create an image from it and display it in the block mask using the "image" command. Have a great day, Lucas

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Author Block Masks 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by