matlab 如何计算结构体的字节​数,用whos怎么算​出来的不对

2 Ansichten (letzte 30 Tage)
WFQ
WFQ am 23 Nov. 2022
Beantwortet: 埃博拉酱 am 7 Nov. 2024
S_XY.x = single(0);
S_XY.y = single(0);
whos S_XY
Name Size Bytes Class Attributes S_XY 1x1 344 struct

Antworten (1)

埃博拉酱
埃博拉酱 am 7 Nov. 2024
在运行这段代码之前,你的S_XY是空的吗?

Kategorien

Mehr zu 结构体 finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!