diff options
Diffstat (limited to 'macros/Misc/DEBUG_SCICOS.sci')
-rw-r--r-- | macros/Misc/DEBUG_SCICOS.sci | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/macros/Misc/DEBUG_SCICOS.sci b/macros/Misc/DEBUG_SCICOS.sci new file mode 100644 index 00000000..61f390bf --- /dev/null +++ b/macros/Misc/DEBUG_SCICOS.sci @@ -0,0 +1,24 @@ +// +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2014-2014 - Scilab Enterprises - Bruno JOFRET +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt +// +// + +function [x,y,typ]=DEBUG_SCICOS(job,arg1,arg2) + x=[]; + y=[]; + typ=[]; + select job + case "set" then + arg1.gui = "DEBUG" + [x,y,typ] = DEBUG("set", arg1); + case "define" then + x = DEBUG("define") + end +endfunction |