Variables won't display correctly in new Matlab version

조회 수: 5 (최근 30일)
John Younce
John Younce 2021년 7월 8일
댓글: Walter Roberson 2023년 3월 3일
I recently switched from a server running 2018b to one running 2020b, and there's something screwy occuring with the way variables are displayed. Previously when a variable in the workspace was double-clicked, a spreadsheet-style table appeared in the editor permitting browsing of data. Now, just text appears starting with val = Columns 1 through 11, followed by the data in the same format that would have appeared in the command window.
Has anyone run into this before?
  댓글 수: 8
Jobrie
Jobrie 2023년 3월 3일
where did you do that?
Walter Roberson
Walter Roberson 2023년 3월 3일
At the MATLAB command line
restoredefaultpath; rehash toolboxcache
and then test. If it works then
savepath

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

답변 (1개)

Viranch Patel
Viranch Patel 2021년 7월 9일
It looks like you've tried something like this.
val = zeros(117,5,'double','distributed');
Which gives output like this. But you can try like this.
val = zeros(117,5,'double');
Which gives outlike that you're expecting.
  댓글 수: 1
John Younce
John Younce 2021년 7월 9일
Unfortunately that doesn't work. It still displays like I posted above. I should mention that all of my various matrices and arrays of all formats (single, double, etc) display correctly in 2018b but not in 2020b,which makes me think there's something in settings that I'm missing.

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

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by