MATLAB: Good evening everyone. i have a uitable, but i don’t know how to display text in the cells. can anyone help me with that? thank you

MATLABuitable

i am generating a code that compares the value of data in two cells and displays the words "congested" or "ok". the problem is that i don't know how to display this in a uitable.

Best Answer

sample_data = {3 5 'congested'; 2 7 'ok'};
uitable('Data', sample_data)
Related Question