Html formatting on uitables.

4 views (last 30 days)
Jordi Riba
Jordi Riba on 12 Oct 2012
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

Accepted Answer

Jordi Riba
Jordi Riba on 12 Oct 2012
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

More Answers (0)

Categories

Find more on Numeric Types in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!