How to 'dropdown' in every cell of a table in App Designer with numerical values for example 0.5, 0.7 and 1?

조회 수: 1(최근 30일)
DulceEien 2021년 8월 3일
편집: DulceEien 2021년 8월 3일
I want the user to choose only between those three values, how could I do it?
t = readtable('Austria.xls');
vars = {'Damage','G','k1','k2','k3','k4'};
t = t(1:32,vars);
extent = categorical(t.k1,{0.5,0.8,1.0});
t.k1 = extent;
app.UITable.Data = t;
I put something like this, but it is not working
I wanted something like this, but with numbers
  댓글 수: 4

댓글을 달려면 로그인하십시오.



Community Treasure Hunt

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

Start Hunting!

Translated by