필터 지우기
필터 지우기

App designer auto update table data

조회 수: 18 (최근 30일)
ulas can ozak
ulas can ozak 2022년 12월 22일
편집: VBBV 2022년 12월 23일
How can i update table data when i turn on the switch?

답변 (1개)

VBBV
VBBV 2022년 12월 22일
if strcmp(app.SlidecontrolSwitch,'on')
clear Q1 Q2 Q3 Q4 % clear old values
Q1 = ...
Q2 = ...
Q3 = ...
Q4 = ...
end
  댓글 수: 2
ulas can ozak
ulas can ozak 2022년 12월 23일
Not upload when i chance slider value.
VBBV
VBBV 2022년 12월 23일
편집: VBBV 2022년 12월 23일
Put all the required code statements inside the if-condition as below
if strcmp(app.SlidecontrolSwitch,'on')
clear Q1 Q2 Q3 Q4 % clear old values
Q1 = app.Q1Slider.Value
Q2 = app.Q1Slider.Value
Q3 = app.Q1Slider.Value
Q4 = app.Q1Slider.Value
Transfer = ... % matrix for expression
app.UITable1.Data = Transfer
Jakobien = ... % matrix for expression
app.UITable2.Data = Jakobien
end

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

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by