Can I access the MATLAB command window while calling it as a computational engine?

I want to access the MATLAB command window to change Handle Graphics properties of plots created with Engine routines.

 Accepted Answer

It is not possible to access data from the MATLAB Command Window when using Engine routines on UNIX, Linux, and Mac platforms. The MATLAB Engine operates by turning all command-line control of MATLAB to your own program.
This is achieved by redirecting stdin and stdout (using UNIX pipes) to your program. Therefore, the MATLAB command window cannot simultaneously be available to the user.
The MATLAB Engine interface on Windows launches MATLAB as an ActiveX Automation Server and therefore the command window is available to accept user input.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!