Save variables in a folder

2 views (last 30 days)
Joana
Joana on 22 Feb 2020
Edited: Joana on 28 Feb 2020
Hi,
I have written a code to extract 'epochs' from 'data'. I need to save 'ErrPsEpochs' and 'NonErrPsEpochs' for each subject and each session seaparately.

Accepted Answer

Sindar
Sindar on 24 Feb 2020
Check the save documentation, you can save specific variables by adding their names as further inputs:
save(resultFileName,'ErrPsEpochs')
save(resultFileName2,'NonErrPsEpochs')

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!