Home > functions > job > job_plot_currentmap_dir > job_plot_cmap_update_xxP.m

job_plot_cmap_update_xxP

PURPOSE ^

Update activity map.

SYNOPSIS ^

function job_plot_cmap_update_xxP(inst_id)

DESCRIPTION ^

 Update activity map.
 
 [history]
 2011-01-29 taku-y

 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function job_plot_cmap_update_xxP(inst_id)
0002 % Update activity map.
0003 %
0004 % [history]
0005 % 2011-01-29 taku-y
0006 %
0007 % Copyright (C) 2011, ATR All Rights Reserved.
0008 % License : New BSD License(see VBMEG_LICENSE.txt)
0009 
0010 global vbmeg_inst; 
0011 
0012 %
0013 % Global variables
0014 %
0015 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0016 act_file = vbmeg_inst.plotcmap{inst_id}.act_file;
0017 lb1      = vbmeg_inst.plotcmap{inst_id}.lb1;
0018 
0019 %
0020 % Update activity map
0021 %
0022 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0023 if ~isempty(act_file),
0024   act_key = get(lb1,'String');
0025   ix_key  = get(lb1,'Value');
0026   act_key = act_key{ix_key};
0027   if ~isempty(act_key),
0028     act = vb_get_act(act_file,act_key);
0029     vbmeg_inst.plotcmap{inst_id}.xxP = act.xxP;
0030   else
0031     act = [];
0032   end
0033 end
0034 
0035 return;

Generated on Tue 27-Aug-2013 11:46:04 by m2html © 2005