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

vb_batch_mgr_get_output_id_string

PURPOSE ^

get id list for output

SYNOPSIS ^

function [id_str] = vb_batch_mgr_get_output_id_string(obj)

DESCRIPTION ^

 get id list for output
 [USAGE]
    [id_str] = vb_batch_mgr_get_output_id_string(<obj>);
 [IN]
    obj : vb_batch_mgr object
 [OUT]
    id_str : id string list selected by user

 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 [id_str] = vb_batch_mgr_get_output_id_string(obj)
0002 % get id list for output
0003 % [USAGE]
0004 %    [id_str] = vb_batch_mgr_get_output_id_string(<obj>);
0005 % [IN]
0006 %    obj : vb_batch_mgr object
0007 % [OUT]
0008 %    id_str : id string list selected by user
0009 %
0010 % Copyright (C) 2011, ATR All Rights Reserved.
0011 % License : New BSD License(see VBMEG_LICENSE.txt)
0012 
0013 %
0014 % --- Previous check
0015 %
0016 if ~exist('obj', 'var')
0017     error('obj is a required parameter.');
0018 end
0019 
0020 %
0021 % --- Main Procedure
0022 %
0023 id_str = cell(0);
0024 
0025 ix_main_list = vb_batch_mgr_get_output_index_list(obj);
0026 
0027 for k=1:length(ix_main_list)
0028     % get parameter set
0029     parm_set = vb_batch_mgr_get_parm_set(obj, ix_main_list(k));
0030 
0031     % get ID of parameter set
0032     id_str{k, 1} = vb_batch_parm_set_get_name(parm_set);
0033 end

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