Parameterübergabe Gui Funktionen variable

10 vues (au cours des 30 derniers jours)
Albin Trog
Albin Trog le 20 Nov 2019
Commenté : Jan le 20 Nov 2019
Ich habe über gui mehrere Slider erstellt, mir dahinter in eine edit Feld die Zahl ausgeben lassen. Nun möchte ich die Zahlen in einer anderen Funktion "auswerten" bzw weiter behandeln. Komme jedoch nicht weiter, da hier ständig Fehlermeldungen kommen, wenn ich beispielsweise var1 (Wert des sliders) in einer anderen Funktion benutzen möchte.
  1 commentaire
Jan
Jan le 20 Nov 2019
The standard language in this forum is English. A rough translation is not easy, because I do not understand the first sentence: You ave created several sliders "over gui"? What does this mean? Do you mean GUIDE?
Please post your code and a copy of the error message.
How does "the other code" obtain the value of var1 from the GUI? You have to provide the value explicitly.

Connectez-vous pour commenter.

Réponses (0)

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!

Translated by