필터 지우기
필터 지우기

how to open portcom to use UART ?

조회 수: 2 (최근 30일)
tomer polsky
tomer polsky 2018년 11월 28일
hello I want to use UART protocol how ever when I press this command
clc;
instrfind
clear all;
s= serial ('COM1')
fopen(s)
how ever I get this error :
Open failed: Port: COM13 is not available. No ports are available.
Use INSTRFIND to determine if other instrument objects are connected to the requested device.
as I undestand is that the portcom is closed :
Instrument Object Array
Index: Type: Status: Name:
1 serial closed Serial-COM11
2 serial closed Serial-COM13
3 serial closed Serial-COM13
4 serial closed Serial-COM3
5 serial closed Serial-COM3
6 serial open Serial-COM1
7 serial closed Serial-COM1
8 serial closed Serial-COM1
9 serial closed Serial-COM1
10 serial closed Serial-COM1
11 serial closed Serial-COM1
12 serial closed Serial-COM1
13 serial closed Serial-COM1
14 serial closed Serial-COM1
15 serial closed Serial-COM1
16 serial closed Serial-COM1
17 serial closed Serial-COM1
18 serial closed Serial-COM11
how do i opon the portcom ?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by