Home > vbmeg > functions > gui > brain_file_maker > brain_file_maker_view3d.m

brain_file_maker_view3d

PURPOSE ^

launch job_view_cortex

SYNOPSIS ^

function [obj] = brain_file_maker_view3d(obj, brain_file, area_file, act_file)

DESCRIPTION ^

 launch job_view_cortex
 [USAGE]
    brain_file_maker_view3d(<obj>, <brain_file>, <area_file>, <act_file>);
 [IN]
           obj : brain_file_maker object
    brain_file : brain file(.brain.mat) (fullpath)
     area_file : area file(.area.mat)   (fullpath)
      act_file : act file(.act.mat)     (fullpath)
 [OUT]
    obj : brain_file_maker object

 Author: rhayashi
 Created: 2007-07-13

 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 [obj] = brain_file_maker_view3d(obj, brain_file, area_file, act_file)
0002 % launch job_view_cortex
0003 % [USAGE]
0004 %    brain_file_maker_view3d(<obj>, <brain_file>, <area_file>, <act_file>);
0005 % [IN]
0006 %           obj : brain_file_maker object
0007 %    brain_file : brain file(.brain.mat) (fullpath)
0008 %     area_file : area file(.area.mat)   (fullpath)
0009 %      act_file : act file(.act.mat)     (fullpath)
0010 % [OUT]
0011 %    obj : brain_file_maker object
0012 %
0013 % Author: rhayashi
0014 % Created: 2007-07-13
0015 %
0016 % Copyright (C) 2011, ATR All Rights Reserved.
0017 % License : New BSD License(see VBMEG_LICENSE.txt)
0018 
0019 %
0020 % --- Previous check
0021 %
0022 if ~exist('obj', 'var'), error('obj is a required parameter.'); end
0023 if ~exist('brain_file', 'var') || exist(brain_file, 'file') ~= 2
0024     error('brain_file is a required parameter.');
0025 end
0026 if ~exist('area_file', 'var')
0027     error('area_file is a required parameter.');
0028 end
0029 if ~exist('act_file', 'var')
0030     error('act_file is a required parameter.');
0031 end
0032 
0033 %
0034 % --- Main Procedure
0035 %
0036 vb_act_area_viewer(brain_file, act_file, area_file);
0037 obj.view3d = gcf;
0038 
0039 %
0040 % --- After check
0041 %
0042 if nargout ~= 1
0043     error('function caller should receive obj.');
0044 end

Generated on Mon 22-May-2023 06:53:56 by m2html © 2005