MATLAB Answers

Translated by

이 페이지의 내용은 영어에서 자동 번역되었습니다. 자동 번역 기능을 해제하려면 "<a class="turn_off_mt" href="#" onclick="window._kiq.push(['set', { 'event': 'Turn off MT' }]);">여기</a>"를 클릭하십시오.

Khoa Ho
0

Run Two Function (inshow & listening Serial port Arduino) Simultaneously

Asked by Khoa Ho
on 7 May 2019
Latest activity Answered by Khoa Ho
on 21 Jun 2019 at 4:22
I wrote a program RFID Read When the Card Touch, then process image get from snapshot.
I use while loop to get snapshot from webcam/ipcamera and show it on axes. But i have i problem,
  • when program run function RFID Card Reader => function show image crash,
  • or when program run function show image => function RFID Card Reader crash (don't run) because while loop
I am try like this, but do not work :(
parpool(2)
parfevalOnAll(@maxNumCompThreads, 0, 2)
spmd
if labindex == 1
first_function
else
second_function
end
end
Is there any solution for me?? I think need run two Function (show image & listening Serial port Arduino) Simultaneously
Thanks a lot.

  0 Comments

Sign in to comment.

Products


Release

R2018a

1 Answers

Answer by Khoa Ho
on 21 Jun 2019 at 4:22

Help me :(

  0 Comments

Sign in to comment.



Translated by