set data into UITABLE
Show older comments
%I have a n*m matrix which all elements strings
num1=[1;2;3] %points id
num2=[30.45;32.55;33.85] %points latitudes
num3=[40.55;41.22;43.62] %points longitudes
num=[num1 num2 num3] %points id, latitude longitude
num=num2str(num)
set(handles.listbox1, 'String', num) %to write into the listbox in the GUI
% How can I write these data into UITABLE in GUI like as I write into listbox above?
Accepted Answer
More Answers (1)
set(handles.uitable1,'Data',num)
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!