Change the color of singal line in Simulink (2012b)

Can we change the color of a signal line in Simulink? I know that we can change the color of the signal by changing the color of the block. But I dont want to do that. Is there any other way to independently change the color of the signal?

 Accepted Answer

I don't believe it is currently possible to change the color of a signal independent of the associated block. Please feel free to submit an enhancement request via MathWorks Tech Support if you would like to see this in a future release of Simulink.

4 Comments

Exact, The foregroundcolor changes the color block with all its outputs.
Kristian
Kristian on 15 Apr 2016
Edited: Kristian on 15 Apr 2016
Hi, this is a 2012b thread, however, I just found that the signal lines are no longer colorized if you change the foreground color of the source block in Simulink R2014b. Has that changed? Is there an alternative way now to do the line coloring? Or am I faced with a kind of bug?
It´s really bad if you have no chance to give a line a color. The block foreground color approach was not nice but at least a workaround for some cases. Now even this is gone as it seems.
Hi Kristian, I'm sorry, I don't know if this behavior was deliberately changed in R2014b. I would recommend contacting support@mathworks.com regarding this.
Hello again ... it seems that it was a temprary bug. I just tried it again, and this time it works again. I´ll watch it. If it happens again (that the coloring is not done) I will report it as bug.
Thanks so far and best regards, Kristian

Sign in to comment.

More Answers (1)

with your mouse(right click) set the foregroundcolor

Categories

Find more on Modeling in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!