Appending data to GUI table
    3 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Yusran Said
 el 7 de Sept. de 2017
  
    
    
    
    
    Comentada: Walter Roberson
      
      
 el 8 de Sept. de 2017
            I have program to display data in a uitable
    data_plat = load('Data_Plat.mat');
    Database_All = data_plat.Database_All;
    data2 = table2cell(Database_All(strcmpi(Database_All.Plat, final_output), ...
        {'Plat', 'Nama', 'Jurusan', 'Status'}));
    handles.uitable1.Data = union(handles.uitable1.Data, data2);
this code just display data in 1 column(downward), how to make it show in a row every data? see the picture
0 comentarios
Respuesta aceptada
  Walter Roberson
      
      
 el 7 de Sept. de 2017
        You need to union by 'rows'
2 comentarios
  Walter Roberson
      
      
 el 8 de Sept. de 2017
				      handles.uitable1.Data = union(handles.uitable1.Data, data2, 'rows');
Más respuestas (0)
Ver también
Categorías
				Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

