ColorDisplay | Top Next

ColorDisplay Change parent subsystem block background color to green when parent Action-subsystem is running. It is used in FSM (Finite State Machine) Since R2019b Library: embeddedCreatorLib ( Dafulai Electronics) / ColorDisplay Description This block is used in "Finite State Machine" visibility when running. In pure Simulink block system (It means no StateFlow block), How to implement a "Finite State Machine" ? We generally use one "Switch Case" block and multiple "Switch Case Action Subsystem" blocks which denote each "State". Of cause, you can also use one " If " block and multiple " If Action Subsystem" blocks if state is not too many. You just put this "ColorDisplay" block into each "Action Subsystem" blocks. When you use PC to monitor system, you will see active state becomes "Green Color" when "Action Subsystem" block is running. Parameters Please double click this block to open parameters dialog below: Ports Input None Outport None. Examples