The output of commands like DISP are not displayed in the MATLAB command window when invoked through ActiveX in MATLAB.
I am running MATLAB commands using ActiveX. I do not see any of my FPRINTF or DISP commands written in the command window. The following code reproduces the problem:
h =actxserver('Matlab.Application');invoke(h, 'Execute', 'disp(''hello'')');
No output from DISP is displayed in the automation window.
Best Answer