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

4 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

Chris Portal
Chris Portal am 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

Weitere Antworten (0)

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by