Development Environment | ![]() ![]() |
Importing Binary Data
The easiest way to import binary data is by using the Import Wizard. You simply start the Import Wizard and specify the file that contains the data you want to import. For more information, see Using the Import Wizard with Binary Data Files.
If you need to work from the MATLAB command line or perform import operations as part of an M-file, you must use one of the MATLAB import functions. MATLAB supports many functions to import data in different binary formats, such as image files or spreadsheet data files. Your choice of which function to use depends on the type of data in the file and how the data is formatted.
Caution When you import data into the MATLAB workspace, it overwrites any existing variables in the workspace with the same name. |
![]() | Using the diary Command to Export Data | Using the Import Wizard with Binary Data Files | ![]() |