diff options
author | Jorawar Singh | 2017-07-16 22:17:43 +0530 |
---|---|---|
committer | Jorawar Singh | 2017-07-16 22:17:43 +0530 |
commit | 550bca9f6e005872e654bc96b0b477cf502d814f (patch) | |
tree | fbc38869310f062b7237096760d1f516cec77211 /macros/Hardware/RasberryPi/cleanmacros.sce | |
parent | d13b41b79200c533efad1f5dcc8803ca510ae1be (diff) | |
download | scilab2c-550bca9f6e005872e654bc96b0b477cf502d814f.tar.gz scilab2c-550bca9f6e005872e654bc96b0b477cf502d814f.tar.bz2 scilab2c-550bca9f6e005872e654bc96b0b477cf502d814f.zip |
Toolbox merge, RPI demos and structured demos
Diffstat (limited to 'macros/Hardware/RasberryPi/cleanmacros.sce')
-rwxr-xr-x | macros/Hardware/RasberryPi/cleanmacros.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/macros/Hardware/RasberryPi/cleanmacros.sce b/macros/Hardware/RasberryPi/cleanmacros.sce new file mode 100755 index 00000000..a6428b2a --- /dev/null +++ b/macros/Hardware/RasberryPi/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 + +// ==================================================================== |