Save variables in a folder

2 Ansichten (letzte 30 Tage)
Joana
Joana am 22 Feb. 2020
Bearbeitet: Joana am 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.

Akzeptierte Antwort

Sindar
Sindar am 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')

Weitere Antworten (0)

Kategorien

Mehr zu Workspace Variables and MAT-Files finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by