Community Profile

photo

Erhan erhnbgdtl


Last seen: 4 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

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) ...

4 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); ...

4 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...

4 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...

4 years ago | 3 answers | 0

3

answers