How to change block background color using block callbacks(during the simulation)
2 views (last 30 days)
Show older comments
Brasco , D. on 27 Apr 2016
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?
Find more on Model, Block, and Port Callbacks 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!