Thread Subject: Simulink Icon Modification

Subject: Simulink Icon Modification

From: Stefan Leier

Date: 19 May, 2008 08:27:01

Message: 1 of 3

hello,

is it possible to set or change the opaque order of masked
referenced models in such a way that icons will overlap on
the model screen? basically, what i want to do is overlap
several masked blocks (icons) with a main block. my problem
is that everytime the main block is in the foreground while
the other blocks are in the background. how is it possible
to change or set blocks into background / foreground?
i know this isn't the normal way of modeling and that
usually the main block 'd contain all the minor system
blocks, however, the model should also be used for
presentation purposes, so i have no other choice.

i appreciate any help.

regards,
stefan

Subject: Simulink Icon Modification

From: Seth Popinchalk

Date: 19 May, 2008 15:25:04

Message: 2 of 3

"Stefan Leier" <stefan.leier@diehl-aerospace.de> wrote in
message <g0rdkl$k9i$1@fred.mathworks.com>...
> hello,
>
> is it possible to set or change the opaque order of masked
> referenced models in such a way that icons will overlap on
> the model screen? basically, what i want to do is overlap
> several masked blocks (icons) with a main block. my problem
> is that everytime the main block is in the foreground while
> the other blocks are in the background. how is it possible
> to change or set blocks into background / foreground?
> i know this isn't the normal way of modeling and that
> usually the main block 'd contain all the minor system
> blocks, however, the model should also be used for
> presentation purposes, so i have no other choice.
>
> i appreciate any help.
>
> regards,
> stefan
>


The stacking order of blocks is determined by name (except
in some special cases). Many Simulink demos take advantage
of this when the grouping of blocks visually adds useful
information.

The examples that come to mind are in the Communications
Blockset

>> commcnvencoder

I think blocks are stacked in descending character order...
so lower case z is drawn first to lower case a, then upper
case Z to upper case A. Special characters fall into the
order based on their char value.

>> char(33:126)
ans =
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~

I hope this helps.
-Seth

Subject: Simulink Icon Modification

From: Stefan Leier

Date: 3 Jun, 2008 12:55:04

Message: 3 of 3

Thank you Seth,
everything is working now :)

Stefan

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
icons Stefan Leier 19 May, 2008 04:30:06
masked blocks Stefan Leier 19 May, 2008 04:30:06
opaque Stefan Leier 19 May, 2008 04:30:06
background Stefan Leier 19 May, 2008 04:30:06
foreground Stefan Leier 19 May, 2008 04:30:06
transparent Stefan Leier 19 May, 2008 04:30:06
simulink Stefan Leier 19 May, 2008 04:30:05
rssFeed for this Thread

Contact us at files@mathworks.com