GOTO: Go to a directory containing a file
by Scott Hirsch
17 Mar 2003
(Updated 04 Jan 2010)
Jump to the directory containing a specified file.
|
Watch this File
|
| File Information |
| Description |
GOTO filename changes MATLAB current directory to the one containing filename. filename must be on the MATLAB path. goto uses the first instance of filename that it finds (a la WHICH).
This is not rocket science, but it sure is convenient! |
| Acknowledgements |
This submission has inspired the following:
Jump, pushd, getfile, GOBACK
|
| MATLAB release |
MATLAB 6.5 (R13)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (3) |
| 17 Sep 2004 |
Chris Arndt
|
|
|
| 01 Mar 2005 |
alaa saad
|
|
|
| 22 Sep 2006 |
Jøger Hansegård
|
|
|
| Updates |
| 01 Dec 2004 |
Update to work with GOBACK. |
| 04 Jan 2010 |
minor update to title |
|
Contact us at files@mathworks.com