Problem sharing data between 2 apps in app designer
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello everyone,
I have a problem with sharing data between 2 apps in the app designer. The first app is called "appPDDCP", and the second one is called "appPDDCP2". I have 4 variables in 4 diferent edit fields in the first app, so I declared them as global:
global Q
global B
global V
global h
Q = app.EditField_2.Value;
B = app.EditField_12.Value;
V = app.EditField_9.Value;
h = app.EditField_7.Value;
After that, I need to call those specific variables in the second app, so I'm trying it do it like this:
load(Q);
load(B);
load(V);
load(h);
Then, I need to make a math operation and to be placed in a specific editfield, like this:
app.EditField.Value = (162.6*Q*B*V)/(h);
I have no idea why it is not working, so please someone help me, how can I call a specific variable of a specific app to another app in the app designer?
Thank you so much for your attention.
0 commentaires
Réponses (1)
Gouri Chennuru
le 16 Déc 2020
Modifié(e) : Gouri Chennuru
le 16 Déc 2020
Hi Juan,
You can refer to these links on how to share data between apps in app designer.
Hope this Helps!
0 commentaires
Voir également
Catégories
En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!