5.0

5.0 | 1 rating Rate this file 18 Downloads (last 30 days) File Size: 13.1 KB File ID: #3484
image thumbnail

Cropping Images on Simulink Blocks

by

 

23 May 2003 (Updated )

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

| Watch this File

File Information
Description

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!

Updates
20 Dec 2011

updated jpg used in Simulink model

Contact us