diff options
Diffstat (limited to 'newstructure/macros/cleanmacros.sce')
-rw-r--r-- | newstructure/macros/cleanmacros.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/newstructure/macros/cleanmacros.sce b/newstructure/macros/cleanmacros.sce new file mode 100644 index 0000000..56d0240 --- /dev/null +++ b/newstructure/macros/cleanmacros.sce @@ -0,0 +1,20 @@ +// ====================================================================
+// This file is released under the 3-clause BSD license. See COPYING-BSD.
+// ====================================================================
+function cleanmacros()
+
+ libpath = get_absolute_file_path("cleanmacros.sce");
+
+ binfiles = ls(libpath+"/*.bin");
+ for i = 1:size(binfiles,"*")
+ mdelete(binfiles(i));
+ end
+
+ mdelete(libpath+"/names");
+ mdelete(libpath+"/lib");
+endfunction
+
+cleanmacros();
+clear cleanmacros; // remove cleanmacros on stack
+
+// ====================================================================
|