Community Profile

photo

Vishal


Active since 2013

Followers: 0   Following: 0

Message

Student of Electronics and Instrumentation.

Statistics

Feeds

View by

Question


i want to display serial data in matlab gui in real time.But when i use the function fread or fscanf the serial data is stored in a variable and the the entire data set is displayed together eg. 15443264325432454321457532474.
My program is: s=serial('com1'); fopen(s); a=fscanf(s); str=sprintf('%d',a); set(handles.edit1,'string',str); fclo...

11 years ago | 0 answers | 0

0

answers

Question


i am using a for loop to access each element in a column of an xls file and display the data with the help of GUI.my code is:
this code is written in the pushbutton callback: for i=1:4 a=xlsread('abc.xls',i,'A(i)'); str=sprintf('%d',a); ...

11 years ago | 2 answers | 0

2

answers