Displaying Multiple Data Sets in a uitable using MATLAB GUI

  • Thread starter satinysol
  • Start date
  • Tags Tags
    Matlab
2 replies · 2K views · last reply
satinysol
Messages
14
Reaction score
0
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
 
Attachments
  • Empty MATLAB GUI uitable with column headers L', P, P', Q, R, S, S' and row labels Wave1 to Wave16, with no values filled in.
    Picture2.jpg
    24.8 KB · Views: 468


For now the data only can show in the first column -L'