23.06.2015 Views

MATLAB Programming

MATLAB Programming

MATLAB Programming

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Using the Import Wizard<br />

Note For data imported from a binary file, only the top option is active.<br />

Variable names and assignment are taken directly from the imported file. For<br />

text data, you can use any of the three options, however, the bottom two are<br />

active only if the file or clipboard contains row or column headers.<br />

While importing from the example text file grades.txt, select the third<br />

option to create vectors from row names. Observe that the display replaces<br />

the default variable assignments with new variables derived from the row<br />

headers. Click any of these variable names, and the Wizard displays the<br />

contents of the corresponding row vector.<br />

Select this option<br />

to create vectors<br />

from row header.<br />

List contains<br />

variables by<br />

row header.<br />

Selecting Which Variables to Write to the Workspace<br />

The checkboxes to the left of each variable name enable you to include or<br />

excludeindividualvariablesfromthosethatwillbewrittentotheworkspace.<br />

By default, all variables are selected. Select the checkbox of any variable you<br />

do not want written to the workspace. The check mark is removed from any<br />

variables that you deselect.<br />

6-15

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

Saved successfully!

Ooh no, something went wrong!