Home > matgraph > graph_destroy.m

graph_destroy

PURPOSE ^

destroy the GRAPH_MAGIC system

SYNOPSIS ^

function graph_destroy

DESCRIPTION ^

 destroy the GRAPH_MAGIC system

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function graph_destroy
0002 % destroy the GRAPH_MAGIC system
0003 
0004 disp('WARNING: This will delete all graphs and invalidate all graph handles')
0005 yn = input('Are you sure you want to proceed? 1 = YES, 0 = NO --> ');
0006 
0007 if (yn == 1)
0008     clear global GRAPH_MAGIC
0009     disp('All graphs destroyed. Start over with graph_init');
0010 else
0011     disp('Destruction canceled');
0012 end
0013

Generated on Thu 13-Mar-2008 14:23:52 by m2html © 2003