<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: xlsread functionality change in R2012a	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/xlsread-functionality-change-in-r2012a/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/xlsread-functionality-change-in-r2012a?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=xlsread-functionality-change-in-r2012a</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Sun, 27 Jul 2014 01:46:04 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/xlsread-functionality-change-in-r2012a#comment-328626</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Sun, 27 Jul 2014 01:46:04 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3263#comment-328626</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/xlsread-functionality-change-in-r2012a#comment-328604&quot;&gt;Nike Dattani&lt;/a&gt;.

@Nike - this sounds on the face of it to be a bug, since the behavior is indeed documented. I suggest that you contact MathWorks (support@mathworks.com) to report this issue. Please repost a comment here if and when you learn anything new.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/xlsread-functionality-change-in-r2012a#comment-328604">Nike Dattani</a>.</p>
<p>@Nike &#8211; this sounds on the face of it to be a bug, since the behavior is indeed documented. I suggest that you contact MathWorks (support@mathworks.com) to report this issue. Please repost a comment here if and when you learn anything new.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nike Dattani		</title>
		<link>https://undocumentedmatlab.com/articles/xlsread-functionality-change-in-r2012a#comment-328604</link>

		<dc:creator><![CDATA[Nike Dattani]]></dc:creator>
		<pubDate>Sat, 26 Jul 2014 14:40:40 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3263#comment-328604</guid>

					<description><![CDATA[It looks like there&#039;s been another backwards in-compatibility introduced in R2014a (if not earlier).

&lt;pre lang=&quot;matlab&quot;&gt;
xlsread(&#039;data.xlsx&#039;,1) 
&lt;/pre&gt;

used to read sheet 1 of data.xlsx

Now it gives:

[]

Now I have to do:
 
&lt;pre lang=&quot;matlab&quot;&gt;
xlsread(&#039;data.xlsx&#039;,&#039;nameOfSheet1&#039;) 
&lt;/pre&gt;

In order to make it work.

Also undocumented, as the documentation says SHEET can still be a number.
Am I the only one with this problem ?

Also, why does it say this comment was written on 29 October 2013, it is actually 26 July 2014 today.]]></description>
			<content:encoded><![CDATA[<p>It looks like there&#8217;s been another backwards in-compatibility introduced in R2014a (if not earlier).</p>
<pre lang="matlab">
xlsread('data.xlsx',1) 
</pre>
<p>used to read sheet 1 of data.xlsx</p>
<p>Now it gives:</p>
<p>[]</p>
<p>Now I have to do:</p>
<pre lang="matlab">
xlsread('data.xlsx','nameOfSheet1') 
</pre>
<p>In order to make it work.</p>
<p>Also undocumented, as the documentation says SHEET can still be a number.<br />
Am I the only one with this problem ?</p>
<p>Also, why does it say this comment was written on 29 October 2013, it is actually 26 July 2014 today.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Editable combo-box &#124; Undocumented Matlab		</title>
		<link>https://undocumentedmatlab.com/articles/xlsread-functionality-change-in-r2012a#comment-280077</link>

		<dc:creator><![CDATA[Editable combo-box &#124; Undocumented Matlab]]></dc:creator>
		<pubDate>Wed, 09 Oct 2013 15:48:18 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3263#comment-280077</guid>

					<description><![CDATA[[...] the past 20+ years of my professional life as engineer and development manager, my number one rule has always been: DON&#8217;T FIX IT, IF IT AIN&#8217;T BROKE! But sometimes, we should also remember an alternative [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] the past 20+ years of my professional life as engineer and development manager, my number one rule has always been: DON&#8217;T FIX IT, IF IT AIN&#8217;T BROKE! But sometimes, we should also remember an alternative [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/xlsread-functionality-change-in-r2012a#comment-118211</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Fri, 02 Nov 2012 02:06:59 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3263#comment-118211</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/xlsread-functionality-change-in-r2012a#comment-118209&quot;&gt;Michelle Hirsch&lt;/a&gt;.

@Michelle - thank you for taking the time to look into this, and for providing this update.

One has to admit that this sort of situation is indeed quite rare in Matlab. Apparently MathWorks&#039; standard workflow is able to prevent most similar occurrences.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/xlsread-functionality-change-in-r2012a#comment-118209">Michelle Hirsch</a>.</p>
<p>@Michelle &#8211; thank you for taking the time to look into this, and for providing this update.</p>
<p>One has to admit that this sort of situation is indeed quite rare in Matlab. Apparently MathWorks&#8217; standard workflow is able to prevent most similar occurrences.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Michelle Hirsch		</title>
		<link>https://undocumentedmatlab.com/articles/xlsread-functionality-change-in-r2012a#comment-118209</link>

		<dc:creator><![CDATA[Michelle Hirsch]]></dc:creator>
		<pubDate>Fri, 02 Nov 2012 01:59:28 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3263#comment-118209</guid>

					<description><![CDATA[Yair - 

We&#039;ve had a chance to look into this issue some more to try to understand what happened.  This behavior change was indeed fallout from the major work we did to greatly enhance the basic mode support in 12b, giving the ability to read xlsx files on Mac and Linux, and Windows machines without Excel (among other goodies).  As he was digging through the code, the developer noticed a bug - that the trimming behavior (which wasn&#039;t well specified in the help) was inconsistent.  Leading column behavior was different from leading rows and trailing rows and columns.  

In my view, the issue here is that the incompatible nature of the bug fix slipped through the cracks, so we didn&#039;t follow our normal process of weighing the benefits and costs to users.  More importantly, this meant that we did not document the change in a release note, leaving it to users to stumble across on their own.  Thanks, as always, for making sure we were aware of the impact on Andreas and potentially on additional users.

@Aurélien - This is the first I&#039;m noticing your blog post.  It seems related, but perhaps a different code change.  I haven&#039;t looked into it, so I don&#039;t know what assessment we made about the change.  

As I&#039;ve said before, it can be a difficult balancing act between bug fixing and maintaining compatibility, and particularly in figuring out the impact (bad or good) of making changes.  We try our best to do the right thing, and always appreciate when our users let us know when our change has impacted them in a way we might not have anticipated. ]]></description>
			<content:encoded><![CDATA[<p>Yair &#8211; </p>
<p>We&#8217;ve had a chance to look into this issue some more to try to understand what happened.  This behavior change was indeed fallout from the major work we did to greatly enhance the basic mode support in 12b, giving the ability to read xlsx files on Mac and Linux, and Windows machines without Excel (among other goodies).  As he was digging through the code, the developer noticed a bug &#8211; that the trimming behavior (which wasn&#8217;t well specified in the help) was inconsistent.  Leading column behavior was different from leading rows and trailing rows and columns.  </p>
<p>In my view, the issue here is that the incompatible nature of the bug fix slipped through the cracks, so we didn&#8217;t follow our normal process of weighing the benefits and costs to users.  More importantly, this meant that we did not document the change in a release note, leaving it to users to stumble across on their own.  Thanks, as always, for making sure we were aware of the impact on Andreas and potentially on additional users.</p>
<p>@Aurélien &#8211; This is the first I&#8217;m noticing your blog post.  It seems related, but perhaps a different code change.  I haven&#8217;t looked into it, so I don&#8217;t know what assessment we made about the change.  </p>
<p>As I&#8217;ve said before, it can be a difficult balancing act between bug fixing and maintaining compatibility, and particularly in figuring out the impact (bad or good) of making changes.  We try our best to do the right thing, and always appreciate when our users let us know when our change has impacted them in a way we might not have anticipated. </p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Aurélien		</title>
		<link>https://undocumentedmatlab.com/articles/xlsread-functionality-change-in-r2012a#comment-116689</link>

		<dc:creator><![CDATA[Aurélien]]></dc:creator>
		<pubDate>Thu, 25 Oct 2012 12:55:35 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3263#comment-116689</guid>

					<description><![CDATA[Same frustration with &lt;i&gt;&lt;b&gt;importdata&lt;/b&gt;&lt;/i&gt; as of R2012a that I describe here:
http://blog.developpez.com/matlab4geek/?p=140&#038;page=2

On 16 Dec 2011 , when testing the BETA R2012a I had contacted tech-support since this new behavior was not mentioned anywhere in the doc. Now my simple example 2 lines of 6 numeric values is even used in the doc : http://www.mathworks.fr/help/releases/R2012a/techdoc/rn/bs7oakc-1.html#bteesx_   lol!

As you imagin, we have a lot of codes which use &lt;i&gt;&lt;b&gt;importdata&lt;/b&gt;&lt;/i&gt; and which now require additional test  for backward compatibility. 
I definitely prefer MATLAB R2011* versions!!]]></description>
			<content:encoded><![CDATA[<p>Same frustration with <i><b>importdata</b></i> as of R2012a that I describe here:<br />
<a href="http://blog.developpez.com/matlab4geek/?p=140&#038;page=2" rel="nofollow ugc">http://blog.developpez.com/matlab4geek/?p=140&#038;page=2</a></p>
<p>On 16 Dec 2011 , when testing the BETA R2012a I had contacted tech-support since this new behavior was not mentioned anywhere in the doc. Now my simple example 2 lines of 6 numeric values is even used in the doc : <a href="http://www.mathworks.fr/help/releases/R2012a/techdoc/rn/bs7oakc-1.html#bteesx_" rel="nofollow ugc">http://www.mathworks.fr/help/releases/R2012a/techdoc/rn/bs7oakc-1.html#bteesx_</a>   lol!</p>
<p>As you imagin, we have a lot of codes which use <i><b>importdata</b></i> and which now require additional test  for backward compatibility.<br />
I definitely prefer MATLAB R2011* versions!!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeremy		</title>
		<link>https://undocumentedmatlab.com/articles/xlsread-functionality-change-in-r2012a#comment-116537</link>

		<dc:creator><![CDATA[Jeremy]]></dc:creator>
		<pubDate>Wed, 24 Oct 2012 21:47:58 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3263#comment-116537</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/xlsread-functionality-change-in-r2012a#comment-116535&quot;&gt;Jeremy&lt;/a&gt;.

(CORRECTION: obviously my real file didn&#039;t contain 7,8,9 in the latter columns, but instead contained 4,5,6. Just didn&#039;t want to muddy the water with that difference. The problem is in the &quot;b&quot; output)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/xlsread-functionality-change-in-r2012a#comment-116535">Jeremy</a>.</p>
<p>(CORRECTION: obviously my real file didn&#8217;t contain 7,8,9 in the latter columns, but instead contained 4,5,6. Just didn&#8217;t want to muddy the water with that difference. The problem is in the &#8220;b&#8221; output)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeremy		</title>
		<link>https://undocumentedmatlab.com/articles/xlsread-functionality-change-in-r2012a#comment-116535</link>

		<dc:creator><![CDATA[Jeremy]]></dc:creator>
		<pubDate>Wed, 24 Oct 2012 21:46:22 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3263#comment-116535</guid>

					<description><![CDATA[OK, is this an exception? This MathWorks fix didn&#039;t work for an XLSX file looking like:
&lt;code&gt;1,a,b,c
2,7,8,9
3,7,8,9
4,7,8,9&lt;/code&gt;

&lt;u&gt;R2009b gives&lt;/u&gt;:
&lt;code&gt;&#062;&#062; [a,b] = xlsread(&#039;badcol.xlsx&#039;,&#039;Sheet1&#039;,&#039;&#039;)
a =
     1   NaN   NaN   NaN
     2     4     5     6
     3     4     5     6
     4     4     5     6
b = 
     &#039;&#039;    &#039;a&#039;    &#039;b&#039;    &#039;c&#039;&lt;/code&gt;

&lt;u&gt;R2012b gives&lt;/u&gt;:
&lt;code&gt;&#062;&#062; [a,b] = xlsread(&#039;badcol.xlsx&#039;,&#039;Sheet1&#039;,&#039;&#039;,&#039;basic&#039;)
a =
     1   NaN   NaN   NaN
     2     4     5     6
     3     4     5     6
     4     4     5     6
b = 
    &#039;a&#039;    &#039;b&#039;    &#039;c&#039;&lt;/code&gt;]]></description>
			<content:encoded><![CDATA[<p>OK, is this an exception? This MathWorks fix didn&#8217;t work for an XLSX file looking like:<br />
<code>1,a,b,c<br />
2,7,8,9<br />
3,7,8,9<br />
4,7,8,9</code></p>
<p><u>R2009b gives</u>:<br />
<code>&gt;&gt; [a,b] = xlsread('badcol.xlsx','Sheet1','')<br />
a =<br />
     1   NaN   NaN   NaN<br />
     2     4     5     6<br />
     3     4     5     6<br />
     4     4     5     6<br />
b =<br />
     ''    'a'    'b'    'c'</code></p>
<p><u>R2012b gives</u>:<br />
<code>&gt;&gt; [a,b] = xlsread('badcol.xlsx','Sheet1','','basic')<br />
a =<br />
     1   NaN   NaN   NaN<br />
     2     4     5     6<br />
     3     4     5     6<br />
     4     4     5     6<br />
b =<br />
    'a'    'b'    'c'</code></p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
