Attempt to assign field of non-structure array.

Post Reply
matlab1
Site Admin
Posts: 4797
Joined: Thu Dec 15, 2016 9:30 am
Contact:

Attempt to assign field of non-structure array.

Post by matlab1 »

Attempt to assign field of non-structure array.
matlab1
Site Admin
Posts: 4797
Joined: Thu Dec 15, 2016 9:30 am
Contact:

Re: Attempt to assign field of non-structure array.

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests