App designer auto update table data

Antworten (1)

VBBV
VBBV am 22 Dez. 2022

0 Stimmen

if strcmp(app.SlidecontrolSwitch,'on')
clear Q1 Q2 Q3 Q4 % clear old values
Q1 = ...
Q2 = ...
Q3 = ...
Q4 = ...
end

2 Kommentare

ulas can ozak
ulas can ozak am 23 Dez. 2022
Not upload when i chance slider value.
VBBV
VBBV am 23 Dez. 2022
Bearbeitet: VBBV am 23 Dez. 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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 22 Dez. 2022

Bearbeitet:

am 23 Dez. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by