Cannot save STUDY to external hard drive (MATLAB eeglab)
Ältere Kommentare anzeigen
I am having trouble saving my STUDY in EEGLAB to my external hard drive. I had no issues in the past and recently I am unable to save anything to this location. I have set my dr to the specified region and I beleive permissions have been checked and verified. The error I recieve is as follows:
Unable to write file 'xx.study'
This is not a bug (Error occured in function_savestudy() at line 171)
Here is the line of code in bold:
% [filepath filenamenoext ext] = fileparts(varargin{1});
% filename = [filenamenoext '.study']; % make sure a .study extension
STUDY.filepath = g.filepath;
STUDY.filename = g.filename;
STUDYfile = fullfile(STUDY.filepath,STUDY.filename);
STUDYTMP = STUDY;
STUDY = std_rmalldatafields(STUDY);
eeglab_options;
if option_saveversion6, save('-v6' , STUDYfile, 'STUDY');
else save('-v7.3' , STUDYfile, 'STUDY');
end
STUDY = STUDYTMP;
Any help would be greatly appreciated!
Thank you!
3 Kommentare
Walter Roberson
am 5 Jan. 2022
I suggest changing the -v6 to -v7
Luke Pezanko
am 5 Jan. 2022
Luke Pezanko
am 5 Jan. 2022
Antworten (1)
yanqi liu
am 5 Jan. 2022
yes,sir,may be save as .mat file,such as
save('-v7.3' , [STUDYfile '.mat'], 'STUDY');
1 Kommentar
Luke Pezanko
am 5 Jan. 2022
Kategorien
Mehr zu Time Series Collections finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!