Is there a method to control the packet output block ?

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

回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by