23.06.2015 Views

MATLAB Programming

MATLAB Programming

MATLAB Programming

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Overview<br />

Importing Data with Toolboxes<br />

In addition to <strong>MATLAB</strong> import functions, you can perform specialized import<br />

features using toolboxes. For example, use Database Toolbox for importing<br />

data from relational databases. Refer to the documentation on the specific<br />

toolbox to see what import features are offered.<br />

Functions Used in File Management<br />

Thefollowingfunctionsareavailablein<strong>MATLAB</strong>tohelpyoutocreate,<br />

manage, and locate the files and directories you work with. For more<br />

information on these and other file management functions, see “File<br />

Management Operations” in the Desktop Tools and Development Environment<br />

documentation:<br />

Function<br />

cd<br />

clipboard<br />

copyfile<br />

delete<br />

dir<br />

edit<br />

exist<br />

fileattrib<br />

filebrowser<br />

fileparts<br />

fullfile<br />

ls<br />

mkdir<br />

movefile<br />

open<br />

pwd<br />

Description<br />

Switch your current working directory to another directory<br />

Copy and paste strings to and from the system clipboard<br />

Copy a file or directory to another location<br />

Delete the specified files<br />

List the files that reside in the specified directory<br />

Create a new M-file or edit an existing one<br />

Check the existence of a file or directory<br />

Set or get attributes of a file or directory<br />

Start the Current Directory Browser<br />

Show the components of a file name and its place on the<br />

path<br />

Build a full file name from its components<br />

List the contents of a specific directory<br />

Create a new directory<br />

Move a file or directory to a new location<br />

Open files based on extension<br />

Identify the directory you are currently working in<br />

6-7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!