Home > vbmeg > functions > gui > vb_input_settings > vb_input_settings_get_prop.m

vb_input_settings_get_prop

PURPOSE ^

SYNOPSIS ^

function [value] = vb_input_settings_get_prop(item, property)

DESCRIPTION ^

 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 [value] = vb_input_settings_get_prop(item, property)
0002 %
0003 % Copyright (C) 2011, ATR All Rights Reserved.
0004 % License : New BSD License(see VBMEG_LICENSE.txt)
0005 
0006 value = [];
0007 for k=1:length(item)
0008     if isstr(item{k}) && strcmpi(item{k}, property)
0009         value = item{k+1};
0010         break;
0011     end
0012 end

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