summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorSiddhesh Wani2015-05-25 14:46:31 +0530
committerSiddhesh Wani2015-05-25 14:46:31 +0530
commitdb464f35f5a10b58d9ed1085e0b462689adee583 (patch)
treede5cdbc71a54765d9fec33414630ae2c8904c9b8 /demos
downloadScilab2C_fossee_old-db464f35f5a10b58d9ed1085e0b462689adee583.tar.gz
Scilab2C_fossee_old-db464f35f5a10b58d9ed1085e0b462689adee583.tar.bz2
Scilab2C_fossee_old-db464f35f5a10b58d9ed1085e0b462689adee583.zip
Original Version
Diffstat (limited to 'demos')
-rw-r--r--demos/Filter.dem.sce21
-rw-r--r--demos/LinearRegression.dem.sce19
-rw-r--r--demos/Symbols.dem.sce20
-rw-r--r--demos/TrigonometricIdentity.dem.sce21
-rw-r--r--demos/scilab2c.dem.gateway.sce21
5 files changed, 102 insertions, 0 deletions
diff --git a/demos/Filter.dem.sce b/demos/Filter.dem.sce
new file mode 100644
index 0000000..100b37b
--- /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/LinearRegression.dem.sce b/demos/LinearRegression.dem.sce
new file mode 100644
index 0000000..5c3a20c
--- /dev/null
+++ b/demos/LinearRegression.dem.sce
@@ -0,0 +1,19 @@
+//
+// 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/test001_LinearRegression/scilabcode/mainfunction.sci");
+
+scilab2c(SCI2CHOME+"/tests/unit_tests/test001_LinearRegression/scilabcode/mainfunction.sci", TMPDIR);
+
+editor(TMPDIR+"/main.c"); \ No newline at end of file
diff --git a/demos/Symbols.dem.sce b/demos/Symbols.dem.sce
new file mode 100644
index 0000000..5339b98
--- /dev/null
+++ b/demos/Symbols.dem.sce
@@ -0,0 +1,20 @@
+//
+// 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/test002_Symbols/scilabcode/mainfunction.sci");
+
+scilab2c(SCI2CHOME+"/tests/unit_tests/test002_Symbols/scilabcode/mainfunction.sci", TMPDIR);
+
+editor(TMPDIR+"/main.c"); \ No newline at end of file
diff --git a/demos/TrigonometricIdentity.dem.sce b/demos/TrigonometricIdentity.dem.sce
new file mode 100644
index 0000000..a2c47c1
--- /dev/null
+++ b/demos/TrigonometricIdentity.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/test000_TrigonIdentity/scilabcode/mainfunction.sci");
+
+scilab2c(SCI2CHOME+"/tests/unit_tests/test000_TrigonIdentity/scilabcode/mainfunction.sci", TMPDIR);
+
+editor(TMPDIR+"/main.c");
+
diff --git a/demos/scilab2c.dem.gateway.sce b/demos/scilab2c.dem.gateway.sce
new file mode 100644
index 0000000..71372e2
--- /dev/null
+++ b/demos/scilab2c.dem.gateway.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
+//
+//
+
+demopath = get_absolute_file_path("scilab2c.dem.gateway.sce");
+
+subdemolist = ["Trigonometric Identity" , "TrigonometricIdentity.dem.sce";
+ "Linear Regression" , "LinearRegression.dem.sce";
+ "Symbols", "Symbols.dem.sce";
+ "High Pass Filter", "Filter.dem.sce";
+ ];
+
+subdemolist(:,2) = demopath + subdemolist(:,2); \ No newline at end of file