Home > functions > gui > batch > batch_mgr > vb_batch_mgr_set_output_index_list.m

vb_batch_mgr_set_output_index_list

PURPOSE ^

Set batch output index_list

SYNOPSIS ^

function [obj] = vb_batch_mgr_set_output_index_list(obj, index_list)

DESCRIPTION ^

 Set batch output index_list
 [USAGE]
    [obj] = vb_batch_mgr_set_output_index_list(<obj><,index_list>)
 [IN]
           obj : vb_batch_mgr object
    index_list : list of ix_main  [Nx1]
                      ix_main = 0: template parameter set
                              > 0: created  parameter set
 [OUT]
    obj : vb_batch_mgr object

 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] = vb_batch_mgr_set_output_index_list(obj, index_list)
0002 % Set batch output index_list
0003 % [USAGE]
0004 %    [obj] = vb_batch_mgr_set_output_index_list(<obj><,index_list>)
0005 % [IN]
0006 %           obj : vb_batch_mgr object
0007 %    index_list : list of ix_main  [Nx1]
0008 %                      ix_main = 0: template parameter set
0009 %                              > 0: created  parameter set
0010 % [OUT]
0011 %    obj : vb_batch_mgr object
0012 %
0013 % Copyright (C) 2011, ATR All Rights Reserved.
0014 % License : New BSD License(see VBMEG_LICENSE.txt)
0015 
0016 %
0017 % --- Previous check
0018 %
0019 if ~exist('obj', 'var')
0020     error('obj is a required parameter.');
0021 end
0022 if ~exist('index_list', 'var')
0023     error('index_list is a required parameter.');
0024 end
0025 
0026 %
0027 % --- Main Procedure
0028 %
0029 obj.ix_output = index_list;
0030 
0031 %
0032 % --- After check
0033 %
0034 if nargout < 1
0035     error('function caller should receive vb_batch_mgr object.');
0036 end

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