ismatlab function within pop_loadbv not working
I am trying to load some EEG data into matlab using this code:
ampmatrix = nan(totalN, length(triggerlabels));
SNRdb_matrix = nan(totalN, length(triggerlabels));
for PNo = 1:totalN % loop to iterate through each EEG data file
[EEG, com] = pop_loadbv(‘C:UsersGeorgOneDrive – University of XXXEEG_data’, files(PNo).name);
(with my actual onedrive not XXX)
and I am getting this error message:
Unrecognized function or variable ‘ismatlab’.
Error in pop_loadbv (line 146)
if ismatlab
^^^^^^^^
I am really stuck! I have tried downloading and setting a path to the bva-io package but it is not working. My EEG folder contains three files for each participants (.eeg, .vhdr and .vmrk) and also has a path set to it. Can anyone help me please?I am trying to load some EEG data into matlab using this code:
ampmatrix = nan(totalN, length(triggerlabels));
SNRdb_matrix = nan(totalN, length(triggerlabels));
for PNo = 1:totalN % loop to iterate through each EEG data file
[EEG, com] = pop_loadbv(‘C:UsersGeorgOneDrive – University of XXXEEG_data’, files(PNo).name);
(with my actual onedrive not XXX)
and I am getting this error message:
Unrecognized function or variable ‘ismatlab’.
Error in pop_loadbv (line 146)
if ismatlab
^^^^^^^^
I am really stuck! I have tried downloading and setting a path to the bva-io package but it is not working. My EEG folder contains three files for each participants (.eeg, .vhdr and .vmrk) and also has a path set to it. Can anyone help me please? I am trying to load some EEG data into matlab using this code:
ampmatrix = nan(totalN, length(triggerlabels));
SNRdb_matrix = nan(totalN, length(triggerlabels));
for PNo = 1:totalN % loop to iterate through each EEG data file
[EEG, com] = pop_loadbv(‘C:UsersGeorgOneDrive – University of XXXEEG_data’, files(PNo).name);
(with my actual onedrive not XXX)
and I am getting this error message:
Unrecognized function or variable ‘ismatlab’.
Error in pop_loadbv (line 146)
if ismatlab
^^^^^^^^
I am really stuck! I have tried downloading and setting a path to the bva-io package but it is not working. My EEG folder contains three files for each participants (.eeg, .vhdr and .vmrk) and also has a path set to it. Can anyone help me please? eeg, pop_loadbv MATLAB Answers — New Questions