Page 1 of 1
Attempt to assign field of non-structure array.
Posted: Thu Jul 20, 2017 12:58 pm
by matlab1
Attempt to assign field of non-structure array.
Re: Attempt to assign field of non-structure array.
Posted: Mon Jan 11, 2021 3:20 am
by matlab1
Solution:
A structure array is a data type that groups related data using data containers called fields. Each field can contain any type of data. Access data in a field using dot notation of the form
structName.fieldName
So, your variable must be structure that you want to set its field.
Perhaps, you used a dot after a variable and saw this error.