How to use data from base workspace in app designer application

90 vues (au cours des 30 derniers jours)
Daan Decleer
Daan Decleer le 1 Mai 2017
Commenté : Mark Sahlin le 18 Avr 2022
Hello
In my app designer program I have several Numeric Edit Fields, I would like to set them to the already declared variables before in the base workspace when my application opens.
Is there a way I can load the existing Variable and put them in the already existing EditField?
Thanks already, I look out to your answers.

Réponse acceptée

xi
xi le 1 Mai 2017
initialize your EditFields using evalin(), such as: app.EditField1.Value=evalin('base','myvar1'); app.EditField2.Value=evalin('base','myvar2'); ...
  8 commentaires
Mark Sahlin
Mark Sahlin le 18 Avr 2022
using app designer it would not allow me access to edit in code view
Mark Sahlin
Mark Sahlin le 18 Avr 2022
the Code View for the initial EditField does not allow me to add a line to change the value via an evalin.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Software Development Tools 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