variables editor columns limited to 24 in 2016a

2 次查看(过去 30 天)
I recently upgraded from 2010 to 2016a. I am trying to work with the variables editor (cut and paste segments into Excel for quick look/integration with other data). I have cell data with over 100 columns. The variable editor is truncating at 24 columns for both the view and cut/paste. I can transpose the data and see it, so it is still there, I just can't get to it through the variables editor in its original form. There does not seem to be an option to set that will fix this issue.
  1 个评论
Zhiping XU
Zhiping XU 2016-3-21
Yes, it will happen when variable is struct or cell, for example 1x566 size cell variable, it only show 24 columns. Hoping a patch is released.

请先登录,再进行评论。

回答(3 个)

Jan
Jan 2016-3-19
编辑:Jan 2016-3-19
What is the actual problem you want to solve? Do you want to copy the contents of the cell? Then the variable editor is an indirection you can omit.
C = {1, pi; 2, sin(2)};
T = C.';
S = sprintf('%.16g\t%.16g\n', T{:});
clipboard('copy', S);
Now you can paste it in Excel.
  1 个评论
Sandra Beaulieu
Sandra Beaulieu 2016-4-21
If I wanted to write it to Excel, I'd just write it using xlswrite. However, I didn't know how to write code copy to the clipboard, so that's helpful. Not so great for the quick look stuff..I used the variable editor to spot check the data & if it was suitable, I'd copy it over into Excel for a different look at it. I will keep trying.

请先登录,再进行评论。


Fuh-Cherng
Fuh-Cherng 2016-7-15
I recently upgraded to R2016a and are having the same issue. In my case, the Variable Editor showed only the first 16 columns of a cell variable. It would be nice to see all the data content, which is important when writing a MATLAB script. This feature is critical for me.
Is there a way to go around it?

James Cheong
James Cheong 2016-7-20
Hi there I had the same problem as well after upgrading to R2016a but there's a MATLAB bug fix. Search for the following Bug ID number: 1350885 http://au.mathworks.com/support/bugreports/details/1350885?partial=collapsed&selected_products=103&selected_release=264&shipped_release_ids%5B%5D=264 Hope that helps. :)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by