Find struct size in bytes.
12 ビュー (過去 30 日間)
古いコメントを表示
Hi all,
I have a struct element that contains some vectors and another struct that in it's turn contains some more data. What is the best way of finding the exact size in bytes of the entire struct?
0 件のコメント
回答 (1 件)
Jan
2014 年 7 月 1 日
It depends on how "the exact size" is defined. Do you mean the payload, which is the size of the data only, or do you want to consider the memory used for the headers of the fields also?
Is the output of the whos command sufficient?
参考
カテゴリ
Help Center および File Exchange で Structures についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!