Cropping Images on Simulink Blocks

版本 1.1.0.1 (13.1 KB) 作者: Stacey Gage
Example of displaying and reducing an image on a Simulink block.
3.3K 次下载
更新时间 2016/9/1

查看许可证

Image file can be used as an icon on a Simulink block. In this example, the image is reduced to a size such that the I/O names can still be seen.
To see how this is done:
-Open the model
-Edit block mask
-Go to icon drawing commands

"image(imread('magic.jpg'),[.2, .2, .6, .6],'on')"
with normalized drawing coordinates
makes this possible

引用格式

Stacey Gage (2024). Cropping Images on Simulink Blocks (https://www.mathworks.com/matlabcentral/fileexchange/3484-cropping-images-on-simulink-blocks), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R11
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Author Block Masks 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.1

Updated license

1.1.0.0

updated jpg used in Simulink model

1.0.0.0