summaryrefslogtreecommitdiff
path: root/etc/FOSSEE_Communication_Systems_Toolbox.quit
diff options
context:
space:
mode:
authorrupak2020-01-21 15:20:25 +0530
committerrupak2020-01-21 15:20:25 +0530
commit36aca8aaaee5cf8cb5452268fd07c0b558b000a3 (patch)
tree97a39a1561849978ea3d45228d3a51c74bc46ac0 /etc/FOSSEE_Communication_Systems_Toolbox.quit
parent777c4c1cc8e7d2632149bd87b79e60fd2f0e7e50 (diff)
downloadFOSSEE-Communication-Systems-Toolbox-36aca8aaaee5cf8cb5452268fd07c0b558b000a3.tar.gz
FOSSEE-Communication-Systems-Toolbox-36aca8aaaee5cf8cb5452268fd07c0b558b000a3.tar.bz2
FOSSEE-Communication-Systems-Toolbox-36aca8aaaee5cf8cb5452268fd07c0b558b000a3.zip
created a scilab toolbox structure
Diffstat (limited to 'etc/FOSSEE_Communication_Systems_Toolbox.quit')
-rw-r--r--etc/FOSSEE_Communication_Systems_Toolbox.quit37
1 files changed, 37 insertions, 0 deletions
diff --git a/etc/FOSSEE_Communication_Systems_Toolbox.quit b/etc/FOSSEE_Communication_Systems_Toolbox.quit
new file mode 100644
index 0000000..dca3560
--- /dev/null
+++ b/etc/FOSSEE_Communication_Systems_Toolbox.quit
@@ -0,0 +1,37 @@
+// This file is released under the 3-clause BSD license. See COPYING-BSD.
+
+// Some specific hooks can be specify here when the module is unloaded.
+
+function quitModule()
+
+ etc_tlbx = get_absolute_file_path("FOSSEE_Communication_Systems_Toolbox.quit");
+ etc_tlbx = getshortpathname(etc_tlbx);
+ root_tlbx = strncpy( etc_tlbx, length(etc_tlbx)-length("\etc\") );
+
+ //unlink libraries
+ [bOK, ilib] = c_link('skeleton_cpp');
+ if bOK then
+ ulink(ilib);
+ end
+
+ [bOK, ilib] = c_link('skeleton_c');
+ if bOK then
+ ulink(ilib);
+ end
+
+ [bOK, ilib] = c_link('skeleton_fortran');
+ if bOK then
+ ulink(ilib);
+ end
+
+ // Remove Preferences GUI
+ // =============================================================================
+ if getscilabmode() == "STD" then
+ removeModulePreferences(root_tlbx);
+ end
+
+endfunction
+
+
+quitModule();
+clear quitModule;