Home > vbmeg > functions > gui > batch > batch_mgr > vb_batch_mgr_new.m

vb_batch_mgr_new

PURPOSE ^

This function creates vb_batch_mgr object

SYNOPSIS ^

function obj = vb_batch_mgr_new(name)

DESCRIPTION ^

 This function creates vb_batch_mgr object

 [USAGE]
    [obj] = vb_batch_mgr_new(<name>);
 [IN]
    name : builder name
 [OUT]

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

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