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

3 ビュー (過去 30 日間)
WFQ
WFQ 2022 年 11 月 23 日
回答済み: 埃博拉酱 2024 年 11 月 7 日
S_XY.x = single(0);
S_XY.y = single(0);
whos S_XY
Name Size Bytes Class Attributes S_XY 1x1 344 struct

回答 (1 件)

埃博拉酱
埃博拉酱 2024 年 11 月 7 日
在运行这段代码之前,你的S_XY是空的吗?

カテゴリ

Help Center および File Exchange结构体 についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!