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 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Structures finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!