Ken & Mike on the MATLAB Desktop

April 6th, 2007

Keeping your fingers on the keyboard

The point and click capabilities of the MATLAB desktop make it easy to learn and use but once you’ve worked with MATLAB for a while you may find that you are most productive keeping your fingers on the keyboard. To accommodate your high productivity work style the MATLAB desktop provides key combinations that let you move the keyboard focus among the desktop tools.

Ctrl+Tab and Ctrl+Shift+Tab cycle focus forward and backward, respectively, among the visible desktop tools.

Ctrl+PageUp and Ctrl+PageDown cycle focus forward and backward, respectively, among tabbed tools or documents such as M-files in the Editor.

Taken together the above key combinations let you move focus to any tool or document within the desktop.

Even so, the focus cycling approach can be cumbersome when you have a large number of tools or documents open. Furthermore, if you work with some of your tools undocked from the main desktop window you might find yourself also using your operating system’s window access key combination (e.g. Alt+Tab on Windows).

If you’re willing to devote a few more neurons to MATLAB key combinations, each desktop tool has an associated key combination that will move focus directly to it. These key combinations are listed on the Window menu.

Window Menu

The Window menu also dynamically assigns mnemonic keys to each open document (M-File, figure etc.). You can move focus to a particular document by pressing Alt+W to invoke the Window menu and then typing the mnemonic letter assigned to that document.

Since the goal is to increase your productivity with MATLAB I’ll let you get back to work now.

3 Responses to “Keeping your fingers on the keyboard”

  1. Daniel Andrews replied on :

    I’m using the 2007a Student edition of matlab on a windows vista operating system. I find that Ctrl+Shift+0 doesn’t send my cursor to the editor window - any ideas on what the problem might be?

  2. Peter replied on :

    This appears to be a previously undiscovered, Vista specific, bug. Thank you for reporting it. I’ll enter it in our bug database and send you a patch.

  3. Sung Soo Kim replied on :

    Cool~

Leave a Reply

Wrap code fragments inside <pre> tags, like this:

<pre class="code">
a = magic(3);
sum(a)
</pre>

If you have a "<" character in your code, either follow it with a space or replace it with "&lt;" (including the semicolon).


Ken & Mike work on the MATLAB Desktop team.
  • DP: Hi i have a problem with ezplot3, i want to plot more than i curve in the same graph but hold on command...
  • Ken: Hi Arsalan, Unfortunately there is no way to get the new Editor API in older versions of MATLAB. -Ken
  • Arsalan: Hi, I am very excited about the MATLAB API for editor because right now i am working on a project and i need...
  • Johannes: Since I started using matlab-emacs some days ago I never experienced Emacslink. But I experienced some...
  • Francisco J. Beron-Vera: Hi all, I have recently learned about ViEmu (http://www.vimemu.c om) which, for Vi/Vim...
  • OysterEngineer: When I first learned of the Publish feature in MatLab, I thought it might be useful to help to...
  • Ken: Hi Herve, I’m not quite sure what you mean by “stand-alone&# 8221; mode? -Ken
  • Herve: I wonder when the publish fonction will be supported in standalone mode.
  • Mike: Ravi, What you described should work as far I understand it. Please follow up with technical support. With a...
  • Mike: @Daniel, Thanks for that note.

These postings are the author's and don't necessarily represent the opinions of The MathWorks.