Cropping Images on Simulink Blocks

バージョン (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 (2023). Cropping Images on Simulink Blocks (, MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R11
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート

Updated license

updated jpg used in Simulink model