How to change block background color using block callbacks(during the simulation)

1 view (last 30 days)
Let say I have a masked subsystem containing one input(In1) and one output(Out1).
Let say In1 is clock data(increasing during the simulation) and Out1 is In1+.
I want to change the masked subsystem background color after Out1 is greater than 10.
I want to do this by using Block properties callbacks of the masked subsystem.
Is there any way to do this?

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!