<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/253679</link>
    <title>MATLAB Central Newsreader - dlmread error??</title>
    <description>Feed for thread: dlmread error??</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 15 Jun 2009 02:26:01 -0400</pubDate>
      <title>dlmread error??</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/253679#657255</link>
      <author>Jack </author>
      <description>I am new to matlab and I have a csv file that I am trying to import; however, I am getting an error:&lt;br&gt;
&amp;gt;&amp;gt; M = dlmread('ADRY_Pre_Leg_WCONT_rms.csv', ' ', 2, 1);&lt;br&gt;
??? Index exceeds matrix dimensions.&lt;br&gt;
Error in ==&amp;gt; dlmread at 150&lt;br&gt;
result = result{1};&lt;br&gt;
&lt;br&gt;
Can anyone please explain this to me or describe how I should be importing this file?&lt;br&gt;
&lt;br&gt;
The file has 92800 rows and 12 columns; each row is a different variable.&lt;br&gt;
&lt;br&gt;
Any help is appreciated!&lt;br&gt;
Thanks!</description>
    </item>
    <item>
      <pubDate>Mon, 15 Jun 2009 02:41:01 -0400</pubDate>
      <title>Re: dlmread error??</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/253679#657258</link>
      <author>Sadik </author>
      <description>Perhaps the function xlsread is going to work.&lt;br&gt;
&lt;br&gt;
&quot;Jack &quot; &amp;lt;use.text.after.underscore.only_jcannon@csu.edu.au&amp;gt; wrote in message &amp;lt;h14bfp$gvv$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I am new to matlab and I have a csv file that I am trying to import; however, I am getting an error:&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; M = dlmread('ADRY_Pre_Leg_WCONT_rms.csv', ' ', 2, 1);&lt;br&gt;
&amp;gt; ??? Index exceeds matrix dimensions.&lt;br&gt;
&amp;gt; Error in ==&amp;gt; dlmread at 150&lt;br&gt;
&amp;gt; result = result{1};&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Can anyone please explain this to me or describe how I should be importing this file?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; The file has 92800 rows and 12 columns; each row is a different variable.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Any help is appreciated!&lt;br&gt;
&amp;gt; Thanks!</description>
    </item>
    <item>
      <pubDate>Mon, 15 Jun 2009 02:47:01 -0400</pubDate>
      <title>Re: dlmread error??</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/253679#657260</link>
      <author>Sadik </author>
      <description>Actually I have realized that there is a function called csvread. But help says: &quot;The file can only contain numeric values.&quot;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;Sadik &quot; &amp;lt;sadik.hava@gmail.com&amp;gt; wrote in message &amp;lt;h14cbt$ag6$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Perhaps the function xlsread is going to work.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &quot;Jack &quot; &amp;lt;use.text.after.underscore.only_jcannon@csu.edu.au&amp;gt; wrote in message &amp;lt;h14bfp$gvv$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; I am new to matlab and I have a csv file that I am trying to import; however, I am getting an error:&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt;&amp;gt; M = dlmread('ADRY_Pre_Leg_WCONT_rms.csv', ' ', 2, 1);&lt;br&gt;
&amp;gt; &amp;gt; ??? Index exceeds matrix dimensions.&lt;br&gt;
&amp;gt; &amp;gt; Error in ==&amp;gt; dlmread at 150&lt;br&gt;
&amp;gt; &amp;gt; result = result{1};&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Can anyone please explain this to me or describe how I should be importing this file?&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; The file has 92800 rows and 12 columns; each row is a different variable.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Any help is appreciated!&lt;br&gt;
&amp;gt; &amp;gt; Thanks!</description>
    </item>
    <item>
      <pubDate>Mon, 15 Jun 2009 03:00:18 -0400</pubDate>
      <title>Re: dlmread error??</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/253679#657262</link>
      <author>Kian </author>
      <description>Try dragging and dropping your XLS file into MATLAB's Command Window. It will bring up a window and you will be able to specify what delimeter you'd like to use to parse the data.</description>
    </item>
    <item>
      <pubDate>Mon, 15 Jun 2009 03:03:00 -0400</pubDate>
      <title>Re: dlmread error??</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/253679#657264</link>
      <author>Kian </author>
      <description>Also, what happens when you use:&lt;br&gt;
&lt;br&gt;
dlmread('ADRY_Pre_Leg_WCONT_rms.csv', ' ', 2, 1)&lt;br&gt;
&lt;br&gt;
without assigning it to a variable (i.e. M)? Will it read it?&lt;br&gt;
&lt;br&gt;
Also, what kinda data are you trying to read? Numbers? Text? Mixed?</description>
    </item>
    <item>
      <pubDate>Mon, 15 Jun 2009 03:24:02 -0400</pubDate>
      <title>Re: dlmread error??</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/253679#657265</link>
      <author>Jack </author>
      <description>Thanks everyone for your suggestions... I fixed the problem using the csvread function and specifying the R and C where the numeric data starts..&lt;br&gt;
&lt;br&gt;
Thanks again.&lt;br&gt;
Jack</description>
    </item>
  </channel>
</rss>

