MATLAB: Html formatting on uitables.

htmlMATLABuitable

Hello all,
I have a table as shown below combining different types of data, and I want to select the fastest speeds and turn them red.
1 38.4191 35.4526 34.1098
Speed: 93.7033 101.5441 105.5415
3 -0.6985 0.5819 0.5786
Speed: 95.4386 99.9043 103.7810
I have tried to do as appears here;
I understand that for the html to work, I need to have the data in char format, I extracted the columns that I want, turned into text, but when I try to put them back on the cell array I get an error that conversion from double to cell is not possible. Any ideas please?
Many Thanks.
Jordi

Best Answer

If someone is interested, the key is just bringing everything into text, and then concatenate the html code and bring it back to the uitable. This is how I solved my problem. Thanks Jordi