Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
function mkdir_BIDS(output_dir)
%
% prepare BIDS directory structure
%
% this function creates a temporary subdirectory "BIDS" in the
% current subject's folder
%
% file history:
% created M. Czisch & F. Binder 8.11.2017
% last 2.3.2018 M. Czisch
fprintf('creating temporary BIDS structure\n');
cmd_str = ['mkdir ', output_dir]; system(cmd_str);
cmd_str = ['mkdir ', output_dir, '/anat']; system(cmd_str);
cmd_str = ['mkdir ', output_dir, '/func']; system(cmd_str);
cmd_str = ['mkdir ', output_dir, '/dwi'] ; system(cmd_str);