File Exchange

image thumbnail

Cropping Images on Simulink Blocks

version 1.1.0.1 (13.1 KB) by

Example of displaying and reducing an image on a Simulink block.

2 Downloads

Updated

View License

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

Comments and Ratings (2)

Alex D

Exactly, what I was looking for!

Updates

1.1.0.1

Updated license

1.1

updated jpg used in Simulink model

MATLAB Release
MATLAB 5.3 (R11)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video