variables editor columns limited to 24 in 2016a

2 views (last 30 days)
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 Comment
Zhiping XU
Zhiping XU on 21 Mar 2016
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.

Sign in to comment.

Answers (3)

Jan
Jan on 19 Mar 2016
Edited: Jan on 19 Mar 2016
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 Comment
Sandra Beaulieu
Sandra Beaulieu on 21 Apr 2016
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.

Sign in to comment.


Fuh-Cherng
Fuh-Cherng on 15 Jul 2016
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 on 20 Jul 2016
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!