About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
See full specifications

scripts default iconCmdWinTool (Scripts) Publisher's description

Programmatic control of the the command window

Programmatic control of the the command window

On a netbook with a tiny monitor, the toolbar and the statusbar of Matlab's
command window occupy valuable space. The function CmdWinTool uses
undocumented Java methods to hide these UI elements.
But the interface allows much more:

Reply = CmdWinTool(Command, Data)
Command as string:
lean, fat: Hide or show toolbar and statusbar
title: Set and get the window title
statusText: String in the statusbar at the bottom
toFront, toBack: Window before of behind other windows.
hide, show: Hide or show the window
JPosition: Set/get position relative to virtual screen, java conventions
Position: Set/get position relative to monitor (*), Matlab conventions
maximize, minimize, restore: guess...
xmax, ymax: maximize horizontally/vertically only (*)
toScreen: Move completely to nearest monitor (*)
getHWnd: Get OS handle of the window (Windows only?)
setFocus: Gain keyboard focus (*)
getText: Get text written to window.
top: Set AlwaysOnTop property
font: Set and get font name and size
background, foreground: Set and get font and background color.

The commands marked with (*) run under Windows only and need WindowAPI:
The other commands should run under MacOS and Linux also.
Tested: Matlab 6.5, 2008b, 2009a, 2011b, WinXP, Win7, multi-monitors
Run uTest_CmdWinTool to check compatibility on your platform.
I'd appreciate bugreports and suggestions for improvements.

This function is inspired by Yair Altman's excellent investigations in the
secrets of Matlab. See http://www.undocumentedmatlab.com

System Requirements:

MATLAB 7.8 (R2009a)
Program Release Status: New Release
Program Install Support: Install and Uninstall

CmdWinTool (Scripts) Tags:

Click on a tag to find related softwares

Is CmdWinTool (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.