Save variables in a folder

2 visualizaciones (últimos 30 días)
Joana
Joana el 22 de Feb. de 2020
Editada: Joana el 28 de Feb. de 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.

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Workspace Variables and MAT-Files en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by