MATLAB Answers

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

16 views (last 30 days)
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.

Accepted Answer

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

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!

Translated by