how to open portcom to use UART ?

3 visualizaciones (últimos 30 días)
tomer polsky
tomer polsky el 28 de Nov. de 2018
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 ?

Respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by