Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Matlab gui radio button help

  1. May 21, 2012 #1
    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=0


    i want to do this situation please help me i am new on matlab GUI


    If anyone need programme code i can send the files
     
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted