How can I define a variable within App Designer?

2 vues (au cours des 30 derniers jours)
Brendan Hall
Brendan Hall le 1 Juin 2018
Hi, I'm trying to make a simple app in the app designer, however, I can't define variables for the App (see image). Does anyone know why this is the case? And how I could define variables within the app?

Réponses (2)

yago urroz castillo
yago urroz castillo le 20 Nov 2019
How do you get to edit this field? I have it locked in my App Designer window.

Brendan Hall
Brendan Hall le 1 Juin 2018
I worked it out, I needed to let the app designer know a and b are a thing in properties first, then define what they actually are in the startup function with app.a and app.b before carrying out any functions. (see image)

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