summaryrefslogtreecommitdiff
path: root/contrib/toolbox_skeleton/etc/toolbox_skeleton.quit
blob: 6b6e1454cc66b5d64521956b63accbd9e5ce2510 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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("toolbox_skeleton.quit");	
  etc_tlbx  = getshortpathname(etc_tlbx);
  root_tlbx = strncpy( etc_tlbx, length(etc_tlbx)-length("\etc\") );

  // Remove Preferences GUI
  // =============================================================================
  if getscilabmode() == "STD" then
    removeModulePreferences(root_tlbx);
  end

endfunction


quitModule();
clear quitModule;