# MATLAB Spoken Here

## Meet the new Current Directory navigation bar

The new Address Bar in the Current Directory Browser provides many point and click ways to navigate around your MATLAB file folders. The MATLAB current folder location is displayed as a series of buttons (or breadcrumbs) representing each subfolder in the path. This enables single-click transitions between folders above your current location.

Instead of traditional slashes between folders in the path, there are drop-down menus displaying subfolders at each level. Select a subfolder to navigate to (notice the current location is in bold).

Use the Forward and Back buttons to jump to previously viewed directories.

Select an entry on the history drop-down for quick transition to a recent folder location.

Or, if you enjoy typing, click on white space in the address bar to convert the display into a regular old backslash-separated pathname for editing and viewing.

Whether you are veteran or a newbie we think the new Current Directory navigation will enhance your file navigation experience. It has the best of both worlds – it’s easy to visually navigate, and it’s easy to manually enter a path.

Let us know what you think.

### 4 Responses to “Meet the new Current Directory navigation bar”

1. Chris Rodgers replied on :

A feature I’d like to see for handling file names is the ability to customise TAB completion in the command window.

e.g. the built in save, print, etc. commands do TAB completion knowing that the argument is a filename.

Could we have the ability to add this filename completion for our own functions?

C.

2. Mike replied on :

Chris,

This is currently not possible. One “trick” is to put a bang “!” at the beginning of the line do the tab completion, press “home” and delete the “!”. The bang operator is a shorthand for sending the command to the system shell, and supports tab completion for file names.

Mike

3. The New Current replied on :

That’s a really beautiful GUI!

4. Daniel Armyr replied on :

I have noticed a troubling side-effect of the new current directory browser.

I work with matlab objects. I often save these in .mat files. If one of these .mat files are selected the objects will be loaded by the preview function. When this happens I cannot edit the classdef files as matlab has them loaded in memory and will refuse to refresh. I get an error telling me to clear, but clearing will not clear the .mat file preview.

This is sort of like back in early windows-95 when you tried to move a directory, but you couldn’t if it was expanded because then it was considdered open by a program, that program being explorer that was being used to move the directory.

–DA

–DA

 Name (required) E-mail (required, will not be published) Website (optional) Spam protection (required): What is 4 + 9 ?

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

News from the intersection of MATLAB, Community, and the web.

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