필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
AnG
AnG 2014년 4월 26일
댓글: AnG 2014년 4월 26일
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.
  댓글 수: 2
Walter Roberson
Walter Roberson 2014년 4월 26일
Is one outputting and the other is inputting? If both of them need the port in the same direction, how will you be able to tell which I/O is for which loop?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by