set 2 data in uitable

how to set 2 data in 1 table at same time, this my code for show 1 data
data_plat = load('Data_Plat.mat');
Database_All = data_plat.Database_All;
data2 = table2cell(Database_All(strcmpi(Database_All.Plat, 'DP4308CJ'), {'Plat', 'Nama', 'Jurusan', 'Status'}));
set(handles.uitable1, 'Data', data2);
i need to show 2 or more data, for example data plate DP4308CJ and DD57NR so i type this code but get error
data2 = table2cell(Database_All(strcmpi(Database_All.Plat, 'DP4308CJ','DD57NR'), {'Plat', 'Nama', 'Jurusan', 'Status'}));
how to fix that?

Réponses (0)

Cette question est clôturée.

Tags

Clôturé :

le 20 Août 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by