Home > functions > job > job_edit_act_dir > job_edit_act_load_actfile.m

job_edit_act_load_actfile

PURPOSE ^

Load activity map file (.act.mat)

SYNOPSIS ^

function job_edit_act_load_actfile(inst_id,actfile)

DESCRIPTION ^

 Load activity map file (.act.mat)

 --- Syntax
 job_edit_act_load_actfile(inst_id,actfile)

 --- History
 ????-??-?? Taku Yoshioka
 2008-09-04 Taku Yoshioka

 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_edit_act_load_actfile(inst_id,actfile)
0002 % Load activity map file (.act.mat)
0003 %
0004 % --- Syntax
0005 % job_edit_act_load_actfile(inst_id,actfile)
0006 %
0007 % --- History
0008 % ????-??-?? Taku Yoshioka
0009 % 2008-09-04 Taku Yoshioka
0010 %
0011 % Copyright (C) 2011, ATR All Rights Reserved.
0012 % License : New BSD License(see VBMEG_LICENSE.txt)
0013 
0014 global vbmeg_inst; 
0015 
0016 %
0017 % Global variables
0018 %
0019 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0020 lb1 = vbmeg_inst.editact{inst_id}.lb1;
0021 
0022 %
0023 % Load activity map list
0024 %
0025 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0026 if ~exist(actfile,'file'),
0027   warndlg(['File ' actfile ' does not exist.']);
0028   return;
0029 end
0030 
0031 vbmeg_inst.editact{inst_id}.actfile = actfile;
0032 
0033 % Update list box
0034 set(lb1,'Value',1);
0035 set(lb1,'String',vb_get_keyset_act(actfile));

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