Be the first to rate this file! 3 Downloads (last 30 days) File Size: 1.44 KB File ID: #3179

getfile

by Scott Hirsch

 

25 Mar 2003 (Updated 06 Jan 2010)

Copy a file to the current directory.

| Watch this File

File Information
Description

GETFILE Copy a file to the current directory
 
  GETFILE filename places a copy of filename in the current directory.
  filename must be on the MATLAB path. This is easier than using
  COPYFILE because you don't need to specify the path to the source file.
 
  Example:
    getfile contour %Place a copy of contour.m in the current directory
 
  SEE ALSO: GOTO (MATLAB Central), WHICH, COPYFILE

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
GOTO: Go to a directory containing a file

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.
Please login to add a comment or rating.
Updates
06 Jan 2010

Updated copyright.

Tag Activity for this File
Tag Applied By Date/Time
path Scott Hirsch 22 Oct 2008 06:58:52
directories Scott Hirsch 22 Oct 2008 06:58:52
files Scott Hirsch 22 Oct 2008 06:58:52
copy Scott Hirsch 22 Oct 2008 06:58:52
which Scott Hirsch 22 Oct 2008 06:58:52
utility Scott Hirsch 22 Oct 2008 06:58:52
goto Scott Hirsch 22 Oct 2008 06:58:52
file Scott Hirsch 22 Oct 2008 06:58:52
cd Scott Hirsch 22 Oct 2008 06:58:52
goto John 24 Mar 2012 13:40:54

Contact us at files@mathworks.com