From aae423f70609844897339266a80a23a53baba2eb Mon Sep 17 00:00:00 2001 From: Jason Arita Date: Fri, 10 Jul 2015 14:05:54 -0700 Subject: [PATCH] added code to create `erplab_Box` folder - placeholder readme file. --- eegplugin_erplab.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eegplugin_erplab.m b/eegplugin_erplab.m index 46d68227..80801a89 100755 --- a/eegplugin_erplab.m +++ b/eegplugin_erplab.m @@ -90,6 +90,10 @@ recycle on; delete(fullfile(dirBox,'*')) fprintf('\nERPLAB WARNING: Temporary files (from your last session) within erplab_Box folder were sent to recycle bin.\n\n') + + file_id = fopen(fullfile(dirBox, 'erplab_box_readme.md'), 'w'); + fprintf(file_id, 'This is a placeholder file, so that git does not delete the `erplab_Box` folder.'); + fclose(file_id); end %