The error message "Dot indexing is not supported for variables of this type" in MATLAB usually occurs when you try to access or index a variable that is not of a type that supports dot indexing (using the dot "." operator).
In your case, the error message suggests that the variable strides.normgc.strides.grp.ave.fp1fory
does not support dot indexing.
To resolve this issue, you can try the following options:
strides.normgc.strides.grp.ave.fp1fory
is a valid structure or object that allows dot indexing. You can use the class
function to verify the type of the variable. For example:main.m46 chars2 lines
If the variable is not a structure or object, dot indexing will not be possible.
If the variable is a structure or object, double-check that the field or property you are trying to access with dot indexing (strides.normgc.strides.grp.ave.fp1fory
) actually exists. Make sure you have spelled it correctly and that it is accessible within the structure or object.
If the variable is not a structure or object, make sure you are using the correct indexing syntax for the specific data type. Dot indexing is only applicable to certain data types, such as structures and objects. For arrays or matrices, you should use parentheses and numerical indices instead.
If none of the above options resolve the error, please provide more information about the specific context or code you are working with for further assistance.
gistlibby LogSnag