diff options
author | Harpreet | 2015-11-02 16:20:08 +0530 |
---|---|---|
committer | Harpreet | 2015-11-02 16:20:08 +0530 |
commit | 29e8e8bbd43892c7fa146c165fdf128f786d6a7b (patch) | |
tree | edeacf24d149d777859c2eff9661d04c7bd2f93d /etc | |
parent | eb054c02e76fa28638b595865f5eda52277b70be (diff) | |
download | FOSSEE-Optimization-toolbox-29e8e8bbd43892c7fa146c165fdf128f786d6a7b.tar.gz FOSSEE-Optimization-toolbox-29e8e8bbd43892c7fa146c165fdf128f786d6a7b.tar.bz2 FOSSEE-Optimization-toolbox-29e8e8bbd43892c7fa146c165fdf128f786d6a7b.zip |
README.rst added
Diffstat (limited to 'etc')
-rw-r--r-- | etc/README.rst | 14 | ||||
-rw-r--r-- | etc/README.rst~ | 0 | ||||
-rw-r--r-- | etc/Symphony.quit | 24 |
3 files changed, 38 insertions, 0 deletions
diff --git a/etc/README.rst b/etc/README.rst new file mode 100644 index 0000000..2ffc09f --- /dev/null +++ b/etc/README.rst @@ -0,0 +1,14 @@ +DEMOS Files +=========== + +Start and exit files of the toolbox. + +.start +------- + +It will run a script when loader.sce is run from root toolbox directory. It will run loader files in all of the directories and link to important library. + +.quit +------- + +It will run a script when unloader.sce is run from root toolbox directory. It will unlink all of the important library. diff --git a/etc/README.rst~ b/etc/README.rst~ new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/etc/README.rst~ diff --git a/etc/Symphony.quit b/etc/Symphony.quit index 13883fb..1eabef8 100644 --- a/etc/Symphony.quit +++ b/etc/Symphony.quit @@ -10,3 +10,27 @@ // http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt +function quitModule() + + etc_tlbx = get_absolute_file_path("Symphony.quit"); + etc_tlbx = getshortpathname(etc_tlbx); + root_tlbx = strncpy( etc_tlbx, length(etc_tlbx)-length("\etc\") ); + + //unlink libraries + [bOK, ilib] = c_link('FAMOS'); + if bOK then + ulink(ilib); + end + + // Remove Preferences GUI + // ============================================================================= + if getscilabmode() == "STD" then + removeModulePreferences(root_tlbx); + end + +endfunction + + +quitModule(); +clear quitModule; + |