Effacer les filtres
Effacer les filtres

App designer auto update table data

18 vues (au cours des 30 derniers jours)
ulas can ozak
ulas can ozak le 22 Déc 2022
Modifié(e) : VBBV le 23 Déc 2022
How can i update table data when i turn on the switch?

Réponses (1)

VBBV
VBBV le 22 Déc 2022
if strcmp(app.SlidecontrolSwitch,'on')
clear Q1 Q2 Q3 Q4 % clear old values
Q1 = ...
Q2 = ...
Q3 = ...
Q4 = ...
end
  2 commentaires
ulas can ozak
ulas can ozak le 23 Déc 2022
Not upload when i chance slider value.
VBBV
VBBV le 23 Déc 2022
Modifié(e) : VBBV le 23 Déc 2022
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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by