Code covered by the BSD 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 | 1 rating Rate this file 17 Downloads (last 30 days) File Size: 13.1 KB File ID: #3484 Version: 1.1
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 (1)
11 Aug 2005 Alex D

Exactly, what I was looking for!

20 Dec 2011 1.1

updated jpg used in Simulink model

Contact us