Variables won't display correctly in new Matlab version
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
Walter Roberson
2023-3-3
At the MATLAB command line
restoredefaultpath; rehash toolboxcache
and then test. If it works then
savepath
回答(1 个)
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. ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/678928/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/678928/image.jpeg)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!