How to Read this Code in English?

1 visualización (últimos 30 días)
Rightia Rollmann
Rightia Rollmann el 4 de Mzo. de 2017
Editada: John D'Errico el 4 de Mzo. de 2017
I am not an English-speaking person. How is the correct way to describe the code below with words?
A.B.C = 1
  1 comentario
John D'Errico
John D'Errico el 4 de Mzo. de 2017
Editada: John D'Errico el 4 de Mzo. de 2017
The problem is, this could get lengthy. If you understand what is a structure, then it takes nothing to explain. If not, then it could take several pages to explain MATLAB to a complete novice. Whether you speak English well is irrelevant.
I'd suggest that you start with
doc structure
At least, give a hint as to what you know, and what you don't understand here.

Iniciar sesión para comentar.

Respuesta aceptada

Image Analyst
Image Analyst el 4 de Mzo. de 2017
There is a structure called "A".
"A" has a "field" or "member" called "B".
"B" is also a structure, and it has a field called "C".
The code is setting the C field to 1.

Más respuestas (0)

Categorías

Más información sobre Structures en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by