Incorrect number of right hand side elements in dot name assignment. Missing [] around left hand side is a likely cause
Re: Incorrect number of right hand side elements in dot name assignment. Missing [] around left hand side is a likely c
This error can happen when you use
setfield
For assignment of a matrix to a field in a structure.
Instead of using setfield, try to use direct assignment
for example :
var.in = [8 9]
instead of using,
var = setfield(var,'in',[8 9])
setfield
For assignment of a matrix to a field in a structure.
Instead of using setfield, try to use direct assignment
for example :
var.in = [8 9]
instead of using,
var = setfield(var,'in',[8 9])
Who is online
Users browsing this forum: No registered users and 2 guests