1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Question for matlab uitable

  1. May 16, 2012 #1
    urgent question for matlab uitable

    This is a GUI with a uitable, i want to display 2 sets of data in column Q and column S by clicking a pushbutton

    below is my code:

    peakMag1=transpose(peakMag);
    peakloc1=transpose(peakloc);
    dat=peakMag1;
    set(handles.uitable, 'Visible', 'on');
    set(handles.uitable, 'Data',dat, 'ColumnFormat',{'numeric'});

    i wan to display peakMag1 in column Q and peakloc1 in column S , please help me

    thanks
     

    Attached Files:

  2. jcsd
  3. May 16, 2012 #2
    Re: urgent question for matlab uitable

    For now the data only can show in the first column -L'
     
  4. May 17, 2012 #3
    Re: urgent question for matlab uitable

    please, can anyone help me ?
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook