Use D = spm_eeg_load and then you can treat the D variable as a data
array. For instance:
trial1 = squeeze(D(:, :, 1));
save trial1.txt trial1 -ascii
Vladimir
On Tue, Mar 27, 2018 at 9:12 AM, Jagadale Dhiraj Vasant
<[log in to unmask]> wrote:
> I want to convert EEG data from SPM tool to .csv format. SPM stores a file in .mat and .dat format. structure is saved in .mat and .dat file contain actual data. Please tell me way to use both of these files and convert to CSV. Also, how I can retrieve the 4 trials in my data.
|