GUI and app designer Help

1 vue (au cours des 30 derniers jours)
John Spencer De Wit
John Spencer De Wit le 25 Avr 2020
Hey guys
I am wondering if there is a way to save various inputs from the app designer and use these inputs in a different part of code
For example if I ask for sigma in the GUI how can I save the value to use it in the livescript.
I have an assigement due the code a failure analysis and for this in need varoius constants for the formules and all this has to be entered through a GUI.
Thanks for your time

Réponses (1)

Bhargavi Maganuru
Bhargavi Maganuru le 28 Avr 2020
Hi,
You can save variables to a specific workspace using assignin function.
You can try this
assignin('base','sigma',sigma);
  1 commentaire
John Spencer De Wit
John Spencer De Wit le 28 Avr 2020
Thank you, Ill give it a try

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