How can I let Matlab display structures in compact form where row vectors are merely shown with their size instead of a content fragment?
2 次查看(过去 30 天)
显示 更早的评论
Since 2021b Matlab doesn't display structures as before. Row vectors appear with their content, starting with element one, as shown below:
s_info =
struct with fields:
s1: [1×1 struct]
s2: [1×1 struct]
x: [1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 … ]
x1: [1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 … ]
x2: [1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 … ]
y0: [0 -0.00132903398682239 0 0.000266125880296369 0 -0.00182590518669188 0 0.00102510047697226 0 -0.00288114209154266 0 … ]
y1: [0 -0.00132903398682239 0 0.000266125880296369 0 -0.00182590518669188 0 0.00102510047697226 0 -0.00288114209154266 0 … ]
y2: [0 -0.00132903398682239 0 0.000266125880296369 0 -0.00182590518669188 0 0.00102510047697226 0 -0.00288114209154266 0 … ]
y3: [0 -0.00132903398682239 0 0.000266125880296369 0 -0.00182590518669188 0 0.00102510047697226 0 -0.00288114209154266 0 … ]
y4: [0 -0.00132903398682239 0 0.000266125880296369 0 -0.00182590518669188 0 0.00102510047697226 0 -0.00288114209154266 0 … ]
Is there any way to switch back to the old mode where I would see the vector sizes (for long vectors), not contents? it was more useful for me.
Best regards
Maxim
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Structures 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!