variables editor columns limited to 24 in 2016a

3 ビュー (過去 30 日間)
Sandra Beaulieu
Sandra Beaulieu 2016 年 3 月 18 日
回答済み: James Cheong 2016 年 7 月 20 日
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. :)

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by