how to open portcom to use UART ?

3 ビュー (過去 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 Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by