swa-matlab icon indicating copy to clipboard operation
swa-matlab copied to clipboard

Error when loading data into swa_Explorer()

Open SvennoNito opened this issue 7 years ago • 0 comments

Hey there! First of all thanks for creating such a wonderful toolbox. I'm just getting started detecting slow waves with your toolbox and I encountered a problem when trying to visualize the results.

So I perform all 4 detection steps as suggested in swa_SW_template.m and then I save the results like this

swa_saveOutput(Data, Info, SW, [], 1, 0)

When I then run swa_Explorer() and open the created results file, it throws this error


Error using memmapfile/subsref (line 764)
A subscripting operation on the Data field attempted to create a comma-separated list. The memmapfile class does not support the
use of comma-separated lists when subscripting.

Error in swa_Explorer>menu_LoadData (line 434)
        loaded_file.Data.Raw = temp_data.Data.eegData;
 
Error while evaluating Menu Callback.

Edit: When I change the saveOutput command to

swa_saveOutput(Data, Info, SW, [], 0, 0)

it works. Is that intended?

SvennoNito avatar Dec 17 '18 17:12 SvennoNito