Matlab curly brackets and a dot
5 views (last 30 days)
Show older comments
Hi,
first time i have seen it, i would like to know what it means:
variable{place?}.other_variable=some number
from the code itself:

2 Comments
Stephen23
on 11 Aug 2021
Edited: Stephen23
on 11 Aug 2021
MATLAB has more than just numeric arrays:
Curly braces could refer to a table or a cell array.
Dot indexing could refer to a table or a structure array.
In either case, more efficient data design would likely use one non-scalar structure (or one table), rather than nesting lots of separate scalar structures inside a cell arrray. Inefficient data design like that should not be copied.
Answers (0)
See Also
Categories
Find more on Tables 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!