About 58,500 results
Open links in new tab
  1. Structures - MATLAB & Simulink - MathWorks

    Structures Arrays with named fields that can contain data of varying types and sizes A structure array is a data type that groups related data using data containers called fields. Each field can contain any …

  2. struct - Structure array - MATLAB - MathWorks

    You also can create a structure array using the struct function, described below. You can specify many fields simultaneously, or create a nonscalar structure array.

  3. Structure Arrays - MATLAB & Simulink - MathWorks

    When you have data that you want to organize by name, you can use structures to store it. Structures store data in containers called fields, which you can then access by the names you specify.

  4. Ways to Organize Data in Structure Arrays - MATLAB & Simulink

    There are at least two ways you can organize data in a structure array: plane organization and element-by-element organization. The method that best fits your data depends on how you plan to access the …

  5. Access Data in Nested Structures - MATLAB & Simulink - MathWorks

    When a structure is scalar (1-by-1), you do not need to include the indices to refer to the single element. For example, create a scalar structure s, where field n is a nested scalar structure with fields a, b, and c:

  6. Representing Structured Data with Classes - MATLAB & Simulink

    Using a consistent structure for data storage makes it easier to create functions that operate on the data. A MATLAB ® struct with field names describing the particular data element is a useful way to …

  7. Structures - MATLAB & Simulink - MathWorks

    You can define variables in MATLAB Function and MATLAB System blocks as structures.

  8. Using Structures and Cell Arrays - MATLAB - MathWorks

    Jun 17, 2020 · Cell arrays commonly contain either lists of character vectors of different lengths, or mixes of strings and numbers, or numeric arrays of different sizes. In this video learn how to create …

  9. Concatenate Structures - MATLAB & Simulink - MathWorks

    This example shows how to concatenate structure arrays using the [] operator. To concatenate structures, they must have the same set of fields, but the fields do not need to contain the same …

  10. structfun - Apply function to each field of scalar structure - MATLAB

    This MATLAB function applies the function func to each field of scalar structure S, one field at a time.