benefits of using "Structs" over "Cells" in MATLAB/Octave?
5 ビュー (過去 30 日間)
古いコメントを表示
- benefits of using "Structs" over "Cells" in MATLAB/Octave?
1 件のコメント
Rik
2021 年 11 月 17 日
What is your actual question? These are two different data types. Once you understand them both, you can answer this question yourself. What don't you understand about either?
回答 (1 件)
Chunru
2021 年 11 月 17 日
See the documentation: https://www.mathworks.com/help/matlab/matlab_prog/cell-vs-struct-arrays.html
Struct use field name to access data while cell use index to access to data.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Octave についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!