title: How to read csv files in matlab as you would in R?
body: <p>I have a data set  that is saved as a .csv file that looks like the following:</p>
  
  <pre><code>Name,Age,Password
  John,9,\i1iiu1h8
  Kelly,20,\771jk8
  Bob,33,\kljhjj
  </code></pre>
  
  <p>In R I could open this file by the following:</p>
  
  <pre><code>X = read.csv("file.csv",header=TRUE)
  </code></pre>
  
  <p>Is there a default command in Matlab that reads .csv files with both numeric and string variables?  <code>csvread</code> seems to only like numeric variables.</p>
  
  <p>One step further, in R I could use the attach function to create variables with associated with teh columns and columns headers of the data set, i.e.,</p>
  
  <pre><code>attach(X)
  </code></pre>
  
  <p>Is there something similar in Matlab?</p>