Change appearance of States and subsystems in Simulink

Hello all,
Subsystems in simulink and states in stateflow are colored with gradient background:
is there a way to remove it? when I want to create an image for documentation it adds undesired "clutter" to the document.
Regards,
Moshe

 Accepted Answer

Unfortunately, there is no option to achieve such a 'flat' display of states, without the gradient. That indeed is a gap in the formatting options, as the following properties of Stateflow.Chart-objects allow customizing all other colors:
  • StateColor
  • StateLabelColor
  • TransitionColor
  • TransitionLabelColor
  • JunctionColor
  • SelectionColor
  • ChartColor
  • ErrorColor
Would you consider filing a feature request in the ticket system?

2 Comments

Couldn't find the ticket system, only bug report, which seems unsuitable for feature requests.
Have you tried http://de.mathworks.com/support/servicerequests/index.html? That is the most prominent way for a feature request. That will most certainly not make it into 2015b, but the feature you request seems to make sense to me. May be the devs will like it, too!

Sign in to comment.

More Answers (1)

Yu Jiang
Yu Jiang on 18 Jun 2015
Edited: Yu Jiang on 18 Jun 2015
For Simulink subsystems, you can create an empty mask for the block. Right click the block, go to "mask" -> "create mask".

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!