MATLAB produces solutions for technical computing problems faster than other programming languages such as C++ and Fortran. The software is capable of data visualisation, numeric computation, algorithm development and data analysis inside of the interactive environment. It is also capable of importing data from other files, such as comma separated value (CSV) files. To read a CSV in MATLAB, you must enter a simple command in the command window that tells the program how to treat the data.
- Skill level:
- Moderately Easy
Move the CSV file into the MATLAB data folder. This folder is usually located inside of the MATLAB folder installed on the main hard drive of your computer. In many cases this is "C:/MATLAB/data." Open the MATLAB data folder. Drag the CSV file into the folder to complete the move.
Launch MATLAB from the desktop icon or "Start" menu shortcut.
Click inside of the "Command Window" pane at the top of the interface.
Type "csvread('csv file name.csv')" with the double quotation marks after the ">>" symbol and press "Enter." MATLAB will read the CSV and display the contents of the file.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for