benefits of using "Structs" over "Cells" in MATLAB/Octave?
3 views (last 30 days)
Show older comments
- benefits of using "Structs" over "Cells" in MATLAB/Octave?
1 Comment
Rik
on 17 Nov 2021
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?
Answers (1)
Chunru
on 17 Nov 2021
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 Comments
See Also
Categories
Find more on Octave in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!