| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
h.MinimizeCommandWindow
MinimizeCommandWindow(h)
HRESULT MinimizeCommandWindow(void)
MinimizeCommandWindow
h.MinimizeCommandWindow minimizes the window for the server attached to handle h, and makes it inactive.
MinimizeCommandWindow(h) is an alternate syntax.
If the server window was already in a minimized state, MinimizeCommandWindow does nothing.
From a MATLAB client, modify the size of the command window in a MATLAB Automation server:
h = actxserver('matlab.application');
h.MinimizeCommandWindow;
% Now return the server window to its former state on
% the desktop and make it the currently active window.
h.MaximizeCommandWindow;
From a Visual Basic client, modify the size of the command window in a MATLAB Automation server:
Dim Matlab As Object
Matlab = CreateObject("matlab.application")
Matlab.MinimizeCommandWindow
'Now return the server window to its former state on
'the desktop and make it the currently active window.
Matlab.MaximizeCommandWindow
![]() | min (timeseries) | minres | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |