I have an EEG file stored in TDMS format, unfortunately the eeg device file converter wasn't working and I had to take the TDMS file, now I want to analyze it with Matlab eeglab, and it wont work since eeglab doesn't read TDMS file, i tried several apps and codes to convert the TDMS file to MAT file to work with it,
my last attempt was to work using convertTDMS function and im getting the following error :
Converting 'HM_B1_Filtered.tdms'...Arrays have incompatible sizes for this operation.
Error in simpleConvertTDMS>getData (line 1148)
nsamples=sum(id.nValues.*id.multiplier);
and this is the code im using :
s = simpleConvertTDMS(false, 'filename', fullfile(pwd, 'exampleFiles', 'HM_B1_Filtered.tdms'))
Thank you in advance for helping me getting through this.
the code works with it's example but not with any other data it seems, the solution is not revealed to anyone since I have not seen anyone in mathworks talking about any solution at all.