There are several ways to read data from a spreadsheet file into the MATLAB® workspace:
Alternatively, paste data from the clipboard into MATLAB using one of the following methods:
On the Workspace browser title bar, click , and then select Paste.
Open an existing variable in the Variables editor, right-click, and then select Paste Excel Data.
Call uiimport -pastespecial.
Some import options require that your system includes Excel® for Windows®. For more information, see System Requirements for Importing Spreadsheets.