Home > vbmeg > functions > gui > bm_editor > bm_manager > bm_manager_get_history.m

bm_manager_get_history

PURPOSE ^

get history of one brain.

SYNOPSIS ^

function [description_cell, parm_cell] =bm_manager_get_history(obj, index_no)

DESCRIPTION ^

 get history of one brain.
 [USAGE]
    [description_cell, parm_cell] = ...
                        bm_manager_get_history(<obj>, <index_no>)
 [IN]
         obj : bm_manager object
    index_no : one brain model index number. (scalar)
 [OUT]
    description_cell : processing description list
           parm_cell : processing parameter list

 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 [description_cell, parm_cell] = ...
0002                         bm_manager_get_history(obj, index_no)
0003 % get history of one brain.
0004 % [USAGE]
0005 %    [description_cell, parm_cell] = ...
0006 %                        bm_manager_get_history(<obj>, <index_no>)
0007 % [IN]
0008 %         obj : bm_manager object
0009 %    index_no : one brain model index number. (scalar)
0010 % [OUT]
0011 %    description_cell : processing description list
0012 %           parm_cell : processing parameter list
0013 %
0014 % Copyright (C) 2011, ATR All Rights Reserved.
0015 % License : New BSD License(see VBMEG_LICENSE.txt)
0016 
0017 %
0018 % --- Previous check
0019 %
0020 if ~exist('obj', 'var'), error('obj is a required parameter.'); end
0021 if ~strcmp(obj.class_type, 'bm_manager')
0022     error('class type is invalid.');
0023 end
0024 if ~exist('index_no', 'var')
0025     error('index_no is a required parameter.');
0026 end
0027 
0028 %
0029 % --- Main Procedure
0030 %
0031 brain_model_cell = bm_list_get_brain_model(obj.bm_list, index_no);
0032 
0033 [description_cell, parm_cell] = ...
0034         brain_data_get_history_item_all(brain_model_cell{1});
0035

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