Hi, How can i put the command window in a GUI?
4 views (last 30 days)
Show older comments
I want the command window to show itself as a section in the GUI.
3 Comments
Adam Danz
on 23 Aug 2019
With a text box the code will not be executed until something invokes the GUI to read in the text and do an eval() or evalin(). Error messages, warnings, and outputs could be channeled to appear the pseudo-command-window. But I'd bet that it wouldn't be trivial. That might also require using multiple workspaces and sharing variables between them which sounds clumsy, too. If the commands that need to be entered are simple, there are much better solutions that immitating a command window from the GUI.
Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing 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!