I am trying to figure a way to add a specific value to a struct field in MATLAB. For example:
a.w = a.w + 12;
But I get the following error message:
Error using + Too many input arguments.
Any suggestions?
I am trying to figure a way to add a specific value to a struct field in MATLAB. For example:
a.w = a.w + 12;
But I get the following error message:
Error using + Too many input arguments.
Any suggestions?