When importing txt files, the import tool is relatively smart and can figure out the delimiter in the file. In a similar vein, if you have more than one sheet in your excel doc it imports those as well. ![]() And boom we have two documents we can toggle between. You can have more than one file open at once, you just tap import data again and you get the same options and then I’m going to select this txt file. Here we’re going to choose this excel file. Yeah so when you open the import tool, you get a window to select file, select the file you need. ![]() Additionally, if you have a file such as a JSON, you can use the file read function and import it as text. That said you can import images, videos, etc outside of the import tool. MATLAB supports a wide variety of file types as you can see in the documentation, but today we’re focusing on spreadsheets and text files. ![]() I have list of possible files to choose from in this folder, some are CSV, excel docs, txt files. The import tool is really straightforward to use, you just go up to the home bar and press the import button here and it asks you to select a file. Today we’re going to talk about importing spreadsheet data using the import tool. Hello and welcome to another MATLAB tutorial.
0 Comments
Leave a Reply. |