Import Tool
Import data from file
Description
The Import Tool lets you preview and import data from spreadsheet files, delimited text files, and fixed-width text files. In MATLAB® Online™, you can also preview and import data from netCDF files. You can interactively select the data to import and reuse the script or function that the tool generates to import other similar files.
Open the Import Tool
MATLAB Toolstrip: On the Home tab, in the Variable section, click Import Data.
MATLAB command prompt: Enter
uiimport(
, wherefilename
)filename
is a character vector specifying the name of a text or spreadsheet file (or, in MATLAB Online, a netCDF file).