You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I call pop_select from a script and press the "scroll dataset" button, it seems to always use variable EEG as input - even if I call pop_select(myEEGstructWithAnotherName). If there is a variable EEG in the workspace, it seems it will plot the data from that EEG variable, and not from the one given as a parameter with the function call. If there is no variable named "EEG" in the workspace, I get an error (Unable to resolve the name 'EEG.data'.)
#### Steps to Reproduce
load any dataset, for example data in eeglab sample data folder: myEEG = pop_loadset();]
if exist('EEG'); clear EEG; end
[pop_select(myEEG)]
[press "Scroll dataset" button in dialog]
#### Expected behavior:
Maybe it is the correct behavior, although I would have expected that the input dataset (parameter from function call) would have been plotted, independently from the name.
#### Actual behavior:
[If no "EEG" variable exists, an error is thrown. If "EEG" variable exists, this variable "EEG" will be plotted (instead of the variable given as the parameter).]
#### Versions
OS version
[WIN10 home]
Matlab version
[R2024a]
EEGLAB version
[2024.2.1]
Best, clemens
The text was updated successfully, but these errors were encountered:
Description
When I call pop_select from a script and press the "scroll dataset" button, it seems to always use variable EEG as input - even if I call pop_select(myEEGstructWithAnotherName). If there is a variable EEG in the workspace, it seems it will plot the data from that EEG variable, and not from the one given as a parameter with the function call. If there is no variable named "EEG" in the workspace, I get an error (Unable to resolve the name 'EEG.data'.)
#### Steps to Reproduce
#### Expected behavior: Maybe it is the correct behavior, although I would have expected that the input dataset (parameter from function call) would have been plotted, independently from the name.
#### Actual behavior: [If no "EEG" variable exists, an error is thrown. If "EEG" variable exists, this variable "EEG" will be plotted (instead of the variable given as the parameter).]
#### Versions
Best, clemens
The text was updated successfully, but these errors were encountered: