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

2 次查看(过去 30 天)
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?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Subsystems 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by