フィルターのクリア

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 Center および File ExchangeDevelop 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