Why am I unable to use port (like COM7) in the MATLAB when I connect the same port to tera term?
조회 수: 2 (최근 30일)
이전 댓글 표시
Error: Cannot connect to the COM7 port. Possible reasons are another application is connected to the port or the port does not exist.
댓글 수: 0
답변 (1개)
Raj
2024년 3월 20일
Hello @Jugal Vashi
The most common reason for this error is that the port you're trying to connect to (in this case, COM7) is already in use by another application. Serial ports can generally only be connected to by one application at a time. If you have Tera Term or any other serial communication application open and connected to COM7, MATLAB will not be able to establish a connection to the same port until it is released by the other application.
I hope this solves your query!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Use COM Objects in MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!