필터 지우기
필터 지우기

How do I display more than 16 columns of a cell array?

조회 수: 2 (최근 30일)
J S
J S 2016년 6월 7일
댓글: Pankaj Chauhan 2018년 1월 22일
I have an 11x65 cell array. If I open it in variable window, only 16 of the 65 columns are displayed. I found no option to change max number of cols. I found the problem in 2015a and 2016a. In 2012b, however, all 65 columns are shown. The problem does not occur with structs.
EDIT: Things are starting to get creepy: Today a big array (40000x65) first showed 24 columns, and then all the other columns as well. I don't know how to reproduce when it works and when it does not. Today, 2 large tables were also open in the variable window. Perhaps that's the motivation for MATLAB to also show the ramaining cell columns. Or maybe there is a connection to free RAM?
  댓글 수: 4
Walter Roberson
Walter Roberson 2016년 7월 15일
"number of columns fitting into the window" would depend upon the Workspace variables formatting preference or the formatting setting chosen for the variable in View -- but it doesn't.
I do agree, though, that it has something to do with the window width at the time you ask to view the variable, such as with openvar(). Windows below a certain width result in 16 columns being displayed; above the minimum width and up to some other width it is 24 columns; at some relatively wide point it gets to 32 columns. Possibly if someone were using a monitor wider than mine more columns could be reached.
J S
J S 2016년 7월 20일
@Image Analyst: celldisp() only prints the content in the command window, not variable window. @Walter Robertson: I extended Matlab over my 2 screens as far as I could (there is a limit). Same result.

댓글을 달려면 로그인하십시오.

채택된 답변

James Cheong
James Cheong 2016년 7월 20일
편집: Walter Roberson 2016년 9월 7일
Hi there
I had the same problem as well after upgrading to R2016a but there's a MATLAB bug fix.
Hope that helps.
:)
  댓글 수: 2
J S
J S 2016년 7월 20일
Thanks, that did the trick! URL didn't work for me, though (with au.) http://www.mathworks.com/support/bugreports/1350885
Pankaj Chauhan
Pankaj Chauhan 2018년 1월 22일
Thank you, that trick worked for me...

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

TREDWISE
TREDWISE 2016년 7월 14일
편집: TREDWISE 2016년 7월 14일
This glitch is affecting me as well for r2016 on Mac OS X

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by