POP_EDITOPTIONS Edit memory-saving eeglab() options. These are stored in a file 'eeg_options.m'. With no argument, pop up a window to allow the user to set/unset these options. Store user choices in a new 'eeg_options.m' file in the working directory.

Usage: >> pop_editoptions;
>> pop_editoptions( 'key1', value1, 'key2', value2, ...);

Graphic interface inputs:
"If set, keep at most one dataset in memory ..."   
[checkbox] If set, EEGLAB will only retain the current dataset in memory. All other datasets will be automatically read and writen to disk. All EEGLAB functionalities are preserved even for dataset stored on disk.
"If set, write data in same file as dataset ..."   
[checkbox] Set -> dataset data (EEG.data) are saved in the EEG structure in the standard Matlab dataset (.set) file. Unset -> The EEG.data are saved as a transposed stream of 32-bit floats in a separate binary file. As of Matlab 4.51, the order of the data in the binary file is as in the transpose of EEG.data (i.e., as in EEG.data', frames by channels). This allows quick reading of single channels from the data, e.g. when comparing channels across datasets. The stored files have the extension .dat instead of the pre-4.51, non-transposed .fdt. Both file types are read by the dataset load function. Command line equivalent is option_savematlab.
"Precompute ICA activations"   
[checkbox] If set, all the ICA activation time courses are precomputed (this requires more RAM). Command line equivalent: option_computeica.
"If set, remember old folder when reading dataset"   
[checkbox] this option is convinient if the file you are working on are not in the current folder.

Commandline keywords:
'option_computeica'   
[0|1] If 1, compute the ICA component activitations and store them in a new variable. If 0, compute ICA activations only when needed (& only partially, if possible) and do not store the results).

NOTE: Turn OFF the options above when working with very large datasets or on
computers with limited memory.
'option_savematlab'   
[0|1] If 1, datasets are saved as single Matlab .set files. If 0, dataset data are saved in separate 32-bit binary float .dat files. See the corresponding GUI option above for details.

Outputs: In the output workspace, variables 'option_computeica',
and 'option_savematlab' are updated, and a new 'eeg_options.m' file may be
written to the working directory. The copy of 'eeg_options.m' placed in your
working directory overwrites system defaults whenever EEGLAB operates in this
directory (assuming your working directory is in your MATLABPATH - see path()).
To adjust these options system-wide, edit the master "eeg_options.m" file in the
EEGLAB directory heirarchy.

Author: Arnaud Delorme, SCCN / INC / UCSD, March 2002

See also: eeg_options, eeg_readoptions

See the matlab file pop_editoptions.m (may require other functions)

Back to functions