Is there a method to control the packet output block ?

1 view (last 30 days)
I want the packet output block to send out data only when I receive some specific command through Packet Input and be off at other times i.e. does not send any data. Currently I use an if-else condition to send out data when I receive a command and zero otherwise. Is there a way to control the block such that I do not have to send zeros in between ?

Answers (0)

Categories

Find more on Messages 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!