필터 지우기
필터 지우기

How to change color of UITable cells in app designer if its value gets bigger than an amount?

조회 수: 68 (최근 30일)
Hi All
I need to show the output of my code on an nxn table so at any time, not all but any of these values might exceed certain limits. and I want to change that cell color if its value has exceeded that value. How do I do that ?
and if you wanna add an example file, I use version 2017b. thank you very much

채택된 답변

Ameer Hamza
Ameer Hamza 2020년 4월 23일
This example explain how you can color cells in a uitable based on conditions: https://www.mathworks.com/help/releases/R2020a/matlab/ref/uitable.html#mw_17e7164d-b6a6-40dd-a69e-fb422ee43794. If there is some issue to implement this method then you can ask in the comment.
  댓글 수: 32
Ameer Hamza
Ameer Hamza 2020년 5월 19일
I don't think there is a documented way to do that before R2019b. If the HTML trick didn't work, then most likely not an easy thing.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by