How to embed a command prompt into an mlapp?

1 view (last 30 days)
I'd like to embed a command prompt into an mlapp. Basically, recreate the Command Window within my own custom mlapp. I would like the usr to receive instructions and notifications within this console, and I am also using a tcp connection to run a python script so it would be nice to not have a separate windows popping up for all of these interactions.
Would this require some significant MATLAB-java backend programming? Or is there a built-in functionality with the 2020b AppDesigner?
Walter Roberson
Walter Roberson on 5 Oct 2020
Compiled would be a problem. Compiled does not have access to evaluating user input as commands.
Compiled does not stop you from defining a command language and parsing it and having a data structure that you use to chain together pieces. On the other hand, the more flexible you make that command language, the more you would have to worry about being in violation of the license agreement.

Sign in to comment.

Answers (0)


Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by