- Mismatch in Data Types: The EEG data file you’re trying to process might not be in the expected format or data type. For instance, the processing pipeline might be expecting a structure, but the data file is in a different format.
- Variable Overwriting: If a variable of the same name already exists in your workspace and is not of the type that supports dot indexing, you might encounter this error. You can either delete the variable using clear, or overwrite the contents of the variable using the struct function.
Dot Indexing is not supported for variable of this type EEG PROCESSING
2 views (last 30 days)
Show older comments
Hi, I am trying to run my ERP data through a processing pipeline, however, this error shows up when I tried to process this EEG data (mff file).
However, this error doesn't show up when I tried to process another EEG file (mff version) using the same pipeline.
Can anyone help me with understanding this issue? Thank you!
0 Comments
Answers (1)
Pratik
on 27 Jun 2024
Hi Shuping,
I understand that you are facing error of "Dot Indexing is not supported", without the code used and steps to reproduce the issue it will be difficult to provide a precise solution.
The error “Dot Indexing is not supported for variable of this type” typically occurs when you’re trying to access a property or method of a variable using dot notation, but the variable is not an object or structure that supports this type of indexing.
In the context of EEG processing, this error might occur due to several reasons:
To debug this issue, you can set an error breakpoint and run your code. If this problem occurs again, MATLAB will enter debug mode where the error occurs. You can then examine the variables on that line.
If the issue persists, you might want to check the compatibility of your EEG data file (mff file) with the processing pipeline. It’s possible that the pipeline works with one version of the mff file but not with another. You might need to convert or preprocess your EEG data file to make it compatible with the pipeline.
I hope this helps!
0 Comments
See Also
Categories
Find more on EEG/MEG/ECoG in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!