Matlab curly brackets and a dot

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 commentaires

darova
darova le 11 Août 2021
It's a cell
Stephen23
Stephen23 le 11 Août 2021
Modifié(e) : Stephen23 le 11 Août 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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

Question posée :

le 11 Août 2021

Modifié(e) :

le 11 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by