How can I let Matlab display structures in compact form where row vectors are merely shown with their size instead of a content fragment?
1 回表示 (過去 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!