How to run 2 functions which use same serial port object simultaneously

1 次查看(过去 30 天)
I have 2 functions that are not dependent as such but they use the same serial port object. Also one function has a loop with delay while other is a loop that runs continuously without delay. How do I run them simultaneously? I tried opening two instances of MATLAB but I can't use 2 objects of same serial port.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by