How to read .csv file from a different location in MATLAB? <p>I'm new to MATLAB, I've been fiddling around to import a .csv file which is on my desktop to MATLAB. I've already tried <code>csvread()</code> function as shown,</p> <pre><code>M = csvread(C:/Users/XYZ/Desktop/train.csv) </code></pre> <p>Please help. Thanks in advance.</p> <p><strong>EDIT:</strong></p> <p>My data is in the following format:</p> <pre><code>Id DV T1 T2 1 1 15 3 2 4 16 14 3 1 10 10 4 1 18 18 </code></pre>