if 0, mfiles={'bh_plot_session','rsbs_prepare_formodel','rsbs_speed_stats_extra','resscn_prepare_formodel','speed_stats_extra'} savedir = 'C:\TEMP\behav\'; if ~isdir(savedir),mkdir(savedir);end for i=1:length(mfiles), src=which([mfiles{i},'.m']); [x,y,z]=fileparts(src) dst=[savedir,'\',y,z] copyfile(src,dst); endend
MATLAB: What is this code doing
newtomatlab
Best Answer