Home > functions > gui > brain_file_maker > brain_file_maker_get_figure_handle.m

brain_file_maker_get_figure_handle

PURPOSE ^

get figure handle from brain_file_maker object

SYNOPSIS ^

function [figure_h] = brain_file_maker_get_figure_handle(obj)

DESCRIPTION ^

 get figure handle from brain_file_maker object
 [USAGE]
    figure_h = brain_file_maker_get_figure_handle(obj);
 [IN]
    obj : brain_file_maker object
 [OUT]
    figure_h : figure handle of brain_file_maker gui
 Author: rhayashi
 Created: 2010-02-08

 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 [figure_h] = brain_file_maker_get_figure_handle(obj)
0002 % get figure handle from brain_file_maker object
0003 % [USAGE]
0004 %    figure_h = brain_file_maker_get_figure_handle(obj);
0005 % [IN]
0006 %    obj : brain_file_maker object
0007 % [OUT]
0008 %    figure_h : figure handle of brain_file_maker gui
0009 % Author: rhayashi
0010 % Created: 2010-02-08
0011 %
0012 % Copyright (C) 2011, ATR All Rights Reserved.
0013 % License : New BSD License(see VBMEG_LICENSE.txt)
0014 
0015 
0016 %
0017 % --- Previous check
0018 %
0019 if ~exist('obj', 'var')
0020     error('obj is a required parameter.');
0021 end
0022 if ~strcmp(obj.class_name, 'brain_file_maker')
0023     error('obj is not brain_file_maker''s object');
0024 end
0025 
0026 
0027 %
0028 % --- Main Procedure
0029 %
0030 figure_h = obj.H.figure;

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