Save variables in a folder

3 vues (au cours des 30 derniers jours)
Joana
Joana le 22 Fév 2020
Modifié(e) : Joana le 28 Fév 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.

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Debugging and Analysis dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by