How can I assign vector values to a specific column in uitable GUI matlab?

6 views (last 30 days)
Hi,
I am trying to show my results in uitable. I have an table with 8 column with column names. how is it possible to show results in 4th column only given first 3 have values.
I appreciate your help in advance.
Regards,

Accepted Answer

Walter Roberson
Walter Roberson on 23 Nov 2012
d = get(handles.Table1, 'data');
d(4,:) = num2cell([3; 17; 8; -5; pi]); %assign a cell array
set(handles.Table1, 'data', d);

More Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!