Effacer les filtres
Effacer les filtres

Can I access code in App Designer from the Command Window?

4 vues (au cours des 30 derniers jours)
N R Anthony
N R Anthony le 5 Nov 2016
Commenté : N R Anthony le 7 Nov 2016
I'm working on an app in the App Designer, and I was wondering if it might be possible to bring the instance of that app into the Workspace such that I can access it via the Command Window. It would be cool to play with elements and code without having to run through the App Designer window.
Thanks in advance for your time.

Réponse acceptée

Chris Portal
Chris Portal le 6 Nov 2016
You can specify a left hand side argument at the command line when you run your app and access it using the handle returned. For example:
>> hApp = myApp
>> hApp.Button

Plus de réponses (0)

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