Change Simulink block colors (Display, MATLAB Function)
18 次查看(过去 30 天)
显示 更早的评论
I know that it is possible to change both the Background Color and the Foreground Color of Simulink blocks. However, for some block types, such as the Display block and the MATLAB Function block, I was not able to change the displayed string color, that always remains black. Is there a way to change those colors as well?
4 个评论
Kaustubha Govind
2013-2-5
Andrea: I don't think what you're asking for is currently possible, but you may want to check with MathWorks Tech Support and put in an enhancement request if the functionality doesn't exist already.
回答(1 个)
Ryan G
2013-2-5
You could probably work something out with this custom display on the file exchange along with (<http://www.mathworks.com/matlabcentral/fileexchange/19896-convert-text-to-an-image/content/text2im.m> text2im> Convert the string to an image and perform something like IMSHOW on the block mask.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!