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

S_XY.x = single(0);
S_XY.y = single(0);
whos S_XY
Name Size Bytes Class Attributes S_XY 1x1 344 struct

Respuestas (1)

埃博拉酱
埃博拉酱 el 7 de Nov. de 2024

0 votos

在运行这段代码之前,你的S_XY是空的吗?

Categorías

Productos

Versión

R2018b

Etiquetas

Preguntada:

WFQ
el 23 de Nov. de 2022

Respondida:

el 7 de Nov. de 2024

Community Treasure Hunt

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

Start Hunting!