Question

I want to know please how can I fill in a table, row by row, by numbers, and then to color in each row the cell that has the higher number in it.

I searched the web a little and found this "set(handles.uitable2, 'Data', {5,6,4})" but this is not helping me because i need to fill in row by row, and in this method the row data is been replace.

this is the table. as you see there is 7 rows and 10 columns. in each columns there is the correlation score of the plate digit against the samples digits (0-9).
enter image description here

this is how I call the correlation function[scores] = compute_corr(digit); I'm executes this call 7 times for each plate digit. scores is an array that saves in each call the correlation scores and digit is one digit from the plate.

thanks in advance.

Was it helpful?

Solution

I don't believe there's a way to update the data incrementally. So you should maintain an array containing your data, update that row by row, and call set(...,'Data',actualData) when it changes.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top