Sir/Madam, Is there an option to disable/remove the lower edge of the command window that holds the start button? I don't ever use this button, nor do I read the messages that appear there (e.g. 'Ready'). I would like to be able to reclaim the screen area it occupies. admittedly, I'm talking about a mere 22 pixels here, but for some reason this bar annoys me. The same holds for the lower 22 pixels of the editor. i would like to disable that too. Regards, Stoichkov
"Stoichkov " <nomailaddress@supplied.com> wrote in message <f7pvt0$1nm$1@fred.mathworks.com>...
> Sir/Madam, Is there an option to disable/remove the lower edge of the command window that holds the start button?
The following works on Matlab 7+ but is undocumented and unsupported and might change in any future Matlab release:
Dear Yair Altman, Thanks a lot for your solution. I added the command to my startup.m. I was not aware that Java-commands could be issued from the Matlab command line. How did you manage to figure this one out? Is there an overview of Matlab Java-commands somewhere on the web? Sincerely, Stoichkov
"Yair Altman" <altmanyDEL@gmailDEL.comDEL> wrote in message <f7q4t4$52j$1@fred.mathworks.com>...
> "Stoichkov " <nomailaddress@supplied.com> wrote in message <f7pvt0$1nm$1@fred.mathworks.com>...
> > Sir/Madam, Is there an option to disable/remove the lower edge of the command window that holds the start button?
>
> The following works on Matlab 7+ but is undocumented and unsupported and might change in any future Matlab release:
>
> com.mathworks.mde.desk.MLDesktop.getInstance.getMainFrame.getStatusBar.getParent.setVisible(0);
>
> Yair Altman
> http://www.ymasoftware.com
>
> I was not aware that Java-commands could be issued from the Matlab command line. How did you manage to figure this one out?
Plain old detective work, lots of trial-and-error, digging around in Matlab's m-files for hints, common sense, much frustrations etc. - no easy way I'm afraid...
> Is there an overview of Matlab Java-commands somewhere on the web?
All this is very deep in undocumented territory, I'm afraid. The Matlab-to-Java interface is described here: http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/f44062.html. However, all the internal Java classes/interfaces of Matlab remain undocumented, as well as the Java-to-Matlab interface. For a reason I don't fully understand, MathWorks elects to downplay the Matlab-Java interoperability. Look around in my Java-related submissions on the File Exchange for some information.
Matlab is really exciting - there's an endless list of undocumented nooks and crannies - Java is just one of these areas (admittedly one of the biggest)...
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.