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 comentarios

darova
darova el 11 de Ag. de 2021
It's a cell
Stephen23
Stephen23 el 11 de Ag. de 2021
Editada: Stephen23 el 11 de Ag. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Etiquetas

Preguntada:

el 11 de Ag. de 2021

Editada:

el 11 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by