Change MEG sensor type --- Syntax job_plot_meg_change_sensor_type(inst_id,n) --- History 2008-09-02 Taku Yoshioka Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function job_plot_meg_change_sensor_type(inst_id,n) 0002 % Change MEG sensor type 0003 % 0004 % --- Syntax 0005 % job_plot_meg_change_sensor_type(inst_id,n) 0006 % 0007 % --- History 0008 % 2008-09-02 Taku Yoshioka 0009 % 0010 % Copyright (C) 2011, ATR All Rights Reserved. 0011 % License : New BSD License(see VBMEG_LICENSE.txt) 0012 0013 global vbmeg_inst; 0014 define_job_plot_meg_const; 0015 0016 vbmeg_inst.plotmeg{inst_id}.sensor_type ... 0017 = vbmeg_inst.plotmeg{inst_id}.sensor_type_list(n); 0018 for i=1:length(vbmeg_inst.plotmeg{inst_id}.h_sensortype) 0019 set(vbmeg_inst.plotmeg{inst_id}.h_sensortype(i),'Checked','off'); 0020 end 0021 set(vbmeg_inst.plotmeg{inst_id}.h_sensortype(n),'Checked','on'); 0022 0023 0024 job_plot_meg_choose_plot_sensor(inst_id, 'reset'); 0025 job_plot_meg_update_spatialpattern(inst_id); 0026 job_plot_meg_update_timecourse(inst_id,FORCE_UPDATE);