Problem with uitable show NaN

1 view (last 30 days)
MM BS
MM BS on 4 Mar 2016
Commented: MM BS on 4 Mar 2016
Hello
could you help me fill the uitable with the right value
a={};
for i=1:10
a{i,5}=true;
end
h = uitable('data',a, ...
'columnformat', {'numeric','char','logical','toto1','toto2'},'logical'}, ...
'columneditable',true);
if it's not a number it will not be accepted NaN
Thnx for your help
  5 Comments
Adam
Adam on 4 Mar 2016
{ 'toto1', 'toto2' }
still isn't a column format though, so far as I am aware.
MM BS
MM BS on 4 Mar 2016
how can i put a choice list of toto1 and toto2?

Sign in to comment.

Answers (0)

Categories

Find more on Model Compatibility 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!