Skip to Main Content Skip to Search
Login
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Thread Subject: Option to disable start button

Subject: Option to disable start button

From: Stoichkov

Date: 20 Jul, 2007 09:39:44

Message: 1 of 4

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

Subject: Option to disable start button

From: Yair Altman

Date: 20 Jul, 2007 11:05:08

Message: 2 of 4

"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

Subject: Option to disable start button

From: Stoichkov

Date: 21 Jul, 2007 08:21:10

Message: 3 of 4

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
>

Subject: Option to disable start button

From: Yair Altman

Date: 21 Jul, 2007 18:18:34

Message: 4 of 4

> 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)...

Yair Altman

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
java Yair Altman 21 Jul, 2007 16:51:49
undocumented Yair Altman 21 Jul, 2007 16:51:49
rssFeed for this Thread

envelope graphic E-mail this page to a colleague

Public Submission Policy
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 Disclaimer prior to use.
Related Topics