From 75a3a91595f06a1ac7d8ccc0a1ca0b5cd9552abf Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Thu, 7 Jun 2018 17:48:55 +0530 Subject: add macros from scicos_blocks from scilab 5.5.2 --- macros/Misc/DEBUG_SCICOS.sci | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 macros/Misc/DEBUG_SCICOS.sci (limited to 'macros/Misc/DEBUG_SCICOS.sci') 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 -- cgit