Serial port is not working
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Stijn Haenen
el 30 de Sept. de 2020
Respondida: Stijn Haenen
el 30 de Sept. de 2020
Hello,
I am working with the USB-RLY82 from robot-electronics.co.uk
I have connected this device to the computer and it is available on COM3. But when i make a serial and open the port, it is not responding. I have a C++ program to control the device and this program works, so the device is not broken. But i want to control the device via matlab. How can i fix the serial?
this script is used to open the serial:
s=serial('COM3');
fopen(s);
fprintf(s,'100');
2 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Report Generator en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!