How to remove the MATLAB logo when masking a MATLAB Function block in Simulink?
15 次查看(过去 30 天)
显示 更早的评论
When I create a mask for a Matlab Function block in Simulink the Matlab logo remains, so it becomes very difficult to read anything written inside it. The only way I found to overcome this problem was to create a Subsystem containing the Matlab Function only... Is there any other, more elegant, way?
0 个评论
回答(2 个)
Damon Delorenzis
2018-5-30
编辑:Damon Delorenzis
2018-5-30
Typing the following in the Icon drawing commands field will get rid of the logo and add port labels.
patch([0 1 1 0],[0 0 1 1],[1 1 1]); port_label('input',1,'x'); port_label('output',1,'y');
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Author Block Masks 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!