Home > functions > internal > unit-test > dsUnitSave_figHandles.m

dsUnitSave_figHandles

PURPOSE ^

SAVE_FIGHANDLES saves fig handles to outputDir

SYNOPSIS ^

function dsUnitSave_figHandles( handles, outputDir )

DESCRIPTION ^

SAVE_FIGHANDLES saves fig handles to outputDir

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function dsUnitSave_figHandles( handles, outputDir )
0002 %SAVE_FIGHANDLES saves fig handles to outputDir
0003 
0004 for iH = 1:length(handles)
0005   thisFigName = sprintf('fig%i',iH);
0006   savefig(handles(iH), fullfile(outputDir, thisFigName));
0007     % NOTE: compareFigFiles won't work with compact mode for savefig
0008 end
0009 
0010 end

Generated on Tue 12-Dec-2017 11:32:10 by m2html © 2005