I'm trying to acquire values from a microcontroller using the serial port. However, I'm facing a strange bug!
when I try to run the program for the first time it works and when I try to run it again it gives me an error saying that cannot open the port! But if I close matlab and open it again and run the program it works for the first time only and then same problem arises!
Can anyone help me please ?
Thanks in advance
5 件のコメント
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/489171-serial-port-opening-problem#comment_763526
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/489171-serial-port-opening-problem#comment_763526
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/489171-serial-port-opening-problem#comment_763531
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/489171-serial-port-opening-problem#comment_763531
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/489171-serial-port-opening-problem#comment_763540
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/489171-serial-port-opening-problem#comment_763540
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/489171-serial-port-opening-problem#comment_763543
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/489171-serial-port-opening-problem#comment_763543
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/489171-serial-port-opening-problem#comment_763784
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/489171-serial-port-opening-problem#comment_763784
サインインしてコメントする。