Community Profile

photo

Erhan erhnbgdtl


Last seen: 2 years ago Active since 2020

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


I am trying to communicate arduino with matlab. takes data every 10 seconds and program give 'Warning: Unsuccessful read: A timeout occurred before the Terminator was reached..'.How can I this problem ?
clc clear all delete(instrfindall); close(instrfindall); s = serial('COM3'); time=100; i=1; while(i<time) fopen(s) ...

2 years ago | 0 answers | 0

0

answers

Question


Warning: Unsuccessful read: A timeout occurred before the Terminator was reached..
delete(instrfindall); close(instrfindall); clear all; clear s; global s; s =serial('COM3','BaudRate',9600,'DataBits',8); ...

2 years ago | 0 answers | 0

0

answers

Question


Warning: Unsuccessful read: A timeout occurred before the Terminator was reached..
x1 = []; x2 = []; global s; time=100; i=1; fopen(s) while(i<time) fprintf(s, 'Your serial data goes here') out = f...

2 years ago | 1 answer | 0

1

answer

Question


I want to interface with the DHT11 sensor in matlab.But program give this error Subscripted assignment dimension mismatch. Error in Untitled (line 27) Humi(i)=str2num(out(5:9)); Can you help me?
clc clear all delete(instrfindall); close(instrfindall); s = serial('COM3'); time=100; i=1; while(i<time) fo...

2 years ago | 3 answers | 0

3

answers