Home > functions > job > job_plot_currentmap_dir > job_plot_cmap_get_inst_id.m

job_plot_cmap_get_inst_id

PURPOSE ^

SYNOPSIS ^

function inst_id = job_plot_cmap_get_inst_id(h_fig)

DESCRIPTION ^

 Find instance ID


 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 inst_id = job_plot_cmap_get_inst_id(h_fig)
0002 %
0003 % Find instance ID
0004 %
0005 %
0006 % Copyright (C) 2011, ATR All Rights Reserved.
0007 % License : New BSD License(see VBMEG_LICENSE.txt)
0008 
0009 global vbmeg_inst;
0010 
0011 for inst_id=1:vbmeg_inst.const.PLOTCMAP_MAX
0012   if ~isempty(vbmeg_inst.plotcmap{inst_id}) & ...
0013     vbmeg_inst.plotcmap{inst_id}.h_fig==h_fig, return; 
0014   end;
0015 end
0016

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