summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/Filter.dem.sce21
-rw-r--r--demos/scilab2c.dem.gateway.sce2
2 files changed, 22 insertions, 1 deletions
diff --git a/demos/Filter.dem.sce b/demos/Filter.dem.sce
new file mode 100644
index 00000000..100b37b3
--- /dev/null
+++ b/demos/Filter.dem.sce
@@ -0,0 +1,21 @@
+//
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010-2010 - DIGITEO - 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-en.txt
+//
+//
+lines(0);
+
+global SCI2CHOME
+editor([SCI2CHOME+"/tests/unit_tests/test004_Filter/scilabcode/main.sci";
+ SCI2CHOME+"/tests/unit_tests/test004_Filter/scilabcode/high_pass.sci"]);
+
+scilab2c(SCI2CHOME+"/tests/unit_tests/test004_Filter/scilabcode/main.sci", TMPDIR, SCI2CHOME+"/tests/unit_tests/test004_Filter/scilabcode");
+
+editor([TMPDIR+"/main.c";
+ TMPDIR+"/d2d0d0d0high_passd2.c"]);
diff --git a/demos/scilab2c.dem.gateway.sce b/demos/scilab2c.dem.gateway.sce
index 1e2a6c7f..e84d5dc4 100644
--- a/demos/scilab2c.dem.gateway.sce
+++ b/demos/scilab2c.dem.gateway.sce
@@ -25,4 +25,4 @@ subdemolist =["Linear Algebra","LinearAlgebra/LinearAlgebra.dem.gateway.sce";
"Ffilt coeff. of FIR low pass filter","ffilt.dem.sce";
"Design of FIR linear phase filters using freq. samping technique","fsfirlin.dem.sce";
"Samples of sinc function","filt_sinc.dem.sce";]
-subdemolist(:,2) = demopath + subdemolist(:,2);
+subdemolist(:,2) = demopath + subdemolist(:,2); \ No newline at end of file