From 4b64cf486f5c999fd8167758cae27839f3b50848 Mon Sep 17 00:00:00 2001 From: Harpreet Date: Sat, 3 Sep 2016 00:34:27 +0530 Subject: Structure updated and intqpipopt files added --- newstructure/macros/cleanmacros.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 newstructure/macros/cleanmacros.sce (limited to 'newstructure/macros/cleanmacros.sce') 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 + +// ==================================================================== -- cgit