matlab gui radio button


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) (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=0

i want to do this situation please help me i am new on matlab GUI
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!