Home > functions > job > job_plot_currentmap_dir > job_plot_cmap_show_loaded_files.m

job_plot_cmap_show_loaded_files

PURPOSE ^

Show loaded files.

SYNOPSIS ^

function job_plot_cmap_show_loaded_files(inst_id)

DESCRIPTION ^

 Show loaded files. 

 [syntax]
 job_plot_cmap_show_loaded_files(inst_id)

 [history]
 2008-09-01 Taku Yoshioka
 2010-12-09 taku-y
  [minor enhancement] Time-frequency file supported. 
 2012-02-17 taku-y
 [minor] brainfile -> brain_file
 2012-02-27 taku-y
 [minor] Cortical area/activity files are also shown. 

 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_show_loaded_files(inst_id)
0002 % Show loaded files.
0003 %
0004 % [syntax]
0005 % job_plot_cmap_show_loaded_files(inst_id)
0006 %
0007 % [history]
0008 % 2008-09-01 Taku Yoshioka
0009 % 2010-12-09 taku-y
0010 %  [minor enhancement] Time-frequency file supported.
0011 % 2012-02-17 taku-y
0012 % [minor] brainfile -> brain_file
0013 % 2012-02-27 taku-y
0014 % [minor] Cortical area/activity files are also shown.
0015 %
0016 % Copyright (C) 2011, ATR All Rights Reserved.
0017 % License : New BSD License(see VBMEG_LICENSE.txt)
0018 
0019 global vbmeg_inst; 
0020 
0021 if isempty(vbmeg_inst.plotcmap{inst_id}.tf_file),
0022   str = sprintf(['Estimated current file     : %s \n' ...
0023                  'Cortical surface model file: %s \n' ...
0024                  'Cortical area file         : %s \n' ...
0025                  'Cortical activity file     : %s'], ...
0026                 vbmeg_inst.plotcmap{inst_id}.curr_file, ...
0027                 vbmeg_inst.plotcmap{inst_id}.brain_file, ...
0028                 vbmeg_inst.plotcmap{inst_id}.area_file, ...
0029                 vbmeg_inst.plotcmap{inst_id}.act_file);
0030   h = msgbox(str,'Loaded files','modal');
0031 else
0032   str = sprintf(['Time-frequency file        : %s \n' ...
0033                  'Cortical surface model file: %s \n' ...
0034                  'Cortical area file         : %s \n' ...
0035                  'Cortical activity file     : %s'], ...
0036                 vbmeg_inst.plotcmap{inst_id}.tf_file, ...
0037                 vbmeg_inst.plotcmap{inst_id}.brain_file, ...
0038                 vbmeg_inst.plotcmap{inst_id}.area_file, ...
0039                 vbmeg_inst.plotcmap{inst_id}.act_file);
0040   h = msgbox(str,'Loaded files','modal');
0041 end
0042 
0043 return;

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