View License

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

» Watch video

Highlights from
Cropping Images on Simulink Blocks

5.0 | 2 ratings Rate this file 5 Downloads (last 30 days) File Size: 13.1 KB File ID: #3484 Version:
image thumbnail

Cropping Images on Simulink Blocks


Stacey Gage (view profile)


23 May 2003 (Updated )

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

| Watch this File

File Information

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

Required Products Simulink
MATLAB release MATLAB 5.3 (R11)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
08 Nov 2016 Markus Börner

11 Aug 2005 Alex D

Exactly, what I was looking for!

20 Dec 2011 1.1

updated jpg used in Simulink model

01 Sep 2016

Updated license

Contact us