- #1
ileyzer
- 1
- 0
Hi
I have seri port data,which is like this; data=[0 1 0 1 1 1 0 ] (data could changed by input)
My aim is :i will compare all of data(1) data(2) ...data (7) with 0 and 1.If that data 1 radiobutton will be 1.
If data(1)==1 -----> radiobutton1=1
else data(1)==0 ---->radiobutton1=0
...
...
...
If data(7)==1 -----> radiobutton7=1
else data(7)==0 ---->radiobutton7=0i want to do this situation please help me i am new on MATLAB GUIIf anyone need programme code i can send the files
I have seri port data,which is like this; data=[0 1 0 1 1 1 0 ] (data could changed by input)
My aim is :i will compare all of data(1) data(2) ...data (7) with 0 and 1.If that data 1 radiobutton will be 1.
If data(1)==1 -----> radiobutton1=1
else data(1)==0 ---->radiobutton1=0
...
...
...
If data(7)==1 -----> radiobutton7=1
else data(7)==0 ---->radiobutton7=0i want to do this situation please help me i am new on MATLAB GUIIf anyone need programme code i can send the files