Html formatting on uitables.

조회 수: 2 (최근 30일)
Jordi Riba
Jordi Riba 2012년 10월 12일
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

채택된 답변

Jordi Riba
Jordi Riba 2012년 10월 12일
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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Numeric Types에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by