free_all --- delete all graphs from the GRAPH_MAGIC system
SYNOPSIS
function free_all
DESCRIPTION
free_all --- delete all graphs from the GRAPH_MAGIC system
CROSS-REFERENCE INFORMATION
This function calls:
graph_system_exists graph_system_exists checks to see if the GRAPH_MAGIC global structure has
This function is called by:
SOURCE CODE
0001 function free_all
0002 % free_all --- delete all graphs from the GRAPH_MAGIC system
0003
0004 if ~graph_system_exists
0005 error('Graph system has not been intialized')
0006 end
0007
0008 global GRAPH_MAGIC
0009
0010 for i=1:GRAPH_MAGIC.ngraphs
0011 GRAPH_MAGIC.graphs{i} = [];
0012 GRAPH_MAGIC.in_use(i) = 0;
0013 end