summaryrefslogtreecommitdiff
path: root/2.3-1/demos
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/demos')
-rw-r--r--2.3-1/demos/Arduino/Arduino.dem.gateway.sce22
-rw-r--r--2.3-1/demos/Arduino/analog_in_out_volt.dem.sce (renamed from 2.3-1/demos/analog_in_out_volt.dem.sce)0
-rw-r--r--2.3-1/demos/Arduino/analog_out.dem.sce (renamed from 2.3-1/demos/analog_out.dem.sce)0
-rw-r--r--2.3-1/demos/Arduino/blink.dem.sce (renamed from 2.3-1/demos/blink.dem.sce)0
-rw-r--r--2.3-1/demos/Arduino/dc_motor.dem.sce (renamed from 2.3-1/demos/dc_motor.dem.sce)0
-rw-r--r--2.3-1/demos/Arduino/digital_in.dem.sce (renamed from 2.3-1/demos/digital_in.dem.sce)0
-rw-r--r--2.3-1/demos/Arduino/master_write.dem.sce (renamed from 2.3-1/demos/master_write.dem.sce)0
-rw-r--r--2.3-1/demos/CT/CT.dem.gateway.sce18
-rw-r--r--2.3-1/demos/CT/test_dct.dem.sce (renamed from 2.3-1/demos/test_dct.dem.sce)0
-rw-r--r--2.3-1/demos/CT/test_idct.dem.sce (renamed from 2.3-1/demos/test_idct.dem.sce)0
-rw-r--r--2.3-1/demos/Filters/Filter.dem.sce (renamed from 2.3-1/demos/Filter.dem.sce)0
-rw-r--r--2.3-1/demos/Filters/FilterResponse.dem.sce (renamed from 2.3-1/demos/FilterResponse.dem.sce)0
-rw-r--r--2.3-1/demos/Filters/Filters.dem.gateway.sce19
-rw-r--r--2.3-1/demos/Filters/analogFilter.dem.sce (renamed from 2.3-1/demos/analogFilter.dem.sce)0
-rw-r--r--2.3-1/demos/LinearAlgebra/FULLRF.dem.sce (renamed from 2.3-1/demos/FULLRF.dem.sce)0
-rw-r--r--2.3-1/demos/LinearAlgebra/GIVENS.dem.sce (renamed from 2.3-1/demos/GIVENS.dem.sce)0
-rw-r--r--2.3-1/demos/LinearAlgebra/HESS.dem.sce (renamed from 2.3-1/demos/HESS.dem.sce)0
-rw-r--r--2.3-1/demos/LinearAlgebra/HOUSEHOLDER.dem.sce (renamed from 2.3-1/demos/HOUSEHOLDER.dem.sce)0
-rw-r--r--2.3-1/demos/LinearAlgebra/LinearAlgebra.dem.gateway.sce27
-rw-r--r--2.3-1/demos/LinearAlgebra/NORM.dem.sce (renamed from 2.3-1/demos/NORM.dem.sce)0
-rw-r--r--2.3-1/demos/LinearAlgebra/QR.dem.sce (renamed from 2.3-1/demos/QR.dem.sce)0
-rw-r--r--2.3-1/demos/LinearAlgebra/ROWCOMP.dem.sce (renamed from 2.3-1/demos/ROWCOMP.dem.sce)0
-rw-r--r--2.3-1/demos/LinearAlgebra/SPEC.dem.sce (renamed from 2.3-1/demos/SPEC.dem.sce)0
-rw-r--r--2.3-1/demos/LinearAlgebra/SQROOT.dem.sce (renamed from 2.3-1/demos/SQROOT.dem.sce)0
-rw-r--r--2.3-1/demos/LinearAlgebra/SVA.dem.sce (renamed from 2.3-1/demos/SVA.dem.sce)0
-rw-r--r--2.3-1/demos/LinearAlgebra/SVD.dem.sce (renamed from 2.3-1/demos/SVD.dem.sce)0
-rw-r--r--2.3-1/demos/RPi/RPi.dem.gateway.sce18
-rw-r--r--2.3-1/demos/RPi/test_lcd.dem.sce19
-rw-r--r--2.3-1/demos/RPi/test_wait_and_blink.dem.sce19
-rw-r--r--2.3-1/demos/scilab2c.dem.gateway.sce41
30 files changed, 153 insertions, 30 deletions
diff --git a/2.3-1/demos/Arduino/Arduino.dem.gateway.sce b/2.3-1/demos/Arduino/Arduino.dem.gateway.sce
new file mode 100644
index 00000000..417291ac
--- /dev/null
+++ b/2.3-1/demos/Arduino/Arduino.dem.gateway.sce
@@ -0,0 +1,22 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+//
+// 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
+// Author: Jorawar Singh, Yash Pratap Singh Tomar
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+
+subdemolist = ["Arduino blink", "blink.dem.sce";
+ "Arduino digital input", "digital_in.dem.sce";
+ "Arduino analog voltage i/o", "analog_in_out_volt.dem.sce";
+ "Arduino analog output", "analog_out.dem.sce";
+ "Arduino DC motor", "dc_motor.dem.sce";
+ "Arduino Master write", "master_write.dem.sce";
+ ];
+
+global SCI2CHOME;
+subdemolist(:,2) = SCI2CHOME + "/demos/Arduino/"+ subdemolist(:,2);
diff --git a/2.3-1/demos/analog_in_out_volt.dem.sce b/2.3-1/demos/Arduino/analog_in_out_volt.dem.sce
index ca6da611..ca6da611 100644
--- a/2.3-1/demos/analog_in_out_volt.dem.sce
+++ b/2.3-1/demos/Arduino/analog_in_out_volt.dem.sce
diff --git a/2.3-1/demos/analog_out.dem.sce b/2.3-1/demos/Arduino/analog_out.dem.sce
index 65a1e279..65a1e279 100644
--- a/2.3-1/demos/analog_out.dem.sce
+++ b/2.3-1/demos/Arduino/analog_out.dem.sce
diff --git a/2.3-1/demos/blink.dem.sce b/2.3-1/demos/Arduino/blink.dem.sce
index b01d3dae..b01d3dae 100644
--- a/2.3-1/demos/blink.dem.sce
+++ b/2.3-1/demos/Arduino/blink.dem.sce
diff --git a/2.3-1/demos/dc_motor.dem.sce b/2.3-1/demos/Arduino/dc_motor.dem.sce
index 36c0badd..36c0badd 100644
--- a/2.3-1/demos/dc_motor.dem.sce
+++ b/2.3-1/demos/Arduino/dc_motor.dem.sce
diff --git a/2.3-1/demos/digital_in.dem.sce b/2.3-1/demos/Arduino/digital_in.dem.sce
index 2eb4c3a0..2eb4c3a0 100644
--- a/2.3-1/demos/digital_in.dem.sce
+++ b/2.3-1/demos/Arduino/digital_in.dem.sce
diff --git a/2.3-1/demos/master_write.dem.sce b/2.3-1/demos/Arduino/master_write.dem.sce
index cdf522db..cdf522db 100644
--- a/2.3-1/demos/master_write.dem.sce
+++ b/2.3-1/demos/Arduino/master_write.dem.sce
diff --git a/2.3-1/demos/CT/CT.dem.gateway.sce b/2.3-1/demos/CT/CT.dem.gateway.sce
new file mode 100644
index 00000000..1aba91e4
--- /dev/null
+++ b/2.3-1/demos/CT/CT.dem.gateway.sce
@@ -0,0 +1,18 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+//
+// 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
+// Author: Jorawar Singh, Sandeep Gupta
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+
+subdemolist = ["Discrete Cosine Transform" , "test_dct.dem.sce";
+ "Inverse Cosine Transform" , "test_idct.dem.sce";
+ ];
+
+global SCI2CHOME;
+subdemolist(:,2) = SCI2CHOME + "/demos/CT/"+ subdemolist(:,2);
diff --git a/2.3-1/demos/test_dct.dem.sce b/2.3-1/demos/CT/test_dct.dem.sce
index b1b62475..b1b62475 100644
--- a/2.3-1/demos/test_dct.dem.sce
+++ b/2.3-1/demos/CT/test_dct.dem.sce
diff --git a/2.3-1/demos/test_idct.dem.sce b/2.3-1/demos/CT/test_idct.dem.sce
index b1d33392..b1d33392 100644
--- a/2.3-1/demos/test_idct.dem.sce
+++ b/2.3-1/demos/CT/test_idct.dem.sce
diff --git a/2.3-1/demos/Filter.dem.sce b/2.3-1/demos/Filters/Filter.dem.sce
index 100b37b3..100b37b3 100644
--- a/2.3-1/demos/Filter.dem.sce
+++ b/2.3-1/demos/Filters/Filter.dem.sce
diff --git a/2.3-1/demos/FilterResponse.dem.sce b/2.3-1/demos/Filters/FilterResponse.dem.sce
index 7104836d..7104836d 100644
--- a/2.3-1/demos/FilterResponse.dem.sce
+++ b/2.3-1/demos/Filters/FilterResponse.dem.sce
diff --git a/2.3-1/demos/Filters/Filters.dem.gateway.sce b/2.3-1/demos/Filters/Filters.dem.gateway.sce
new file mode 100644
index 00000000..274d0e4f
--- /dev/null
+++ b/2.3-1/demos/Filters/Filters.dem.gateway.sce
@@ -0,0 +1,19 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+//
+// 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
+// Author: Jorawar Singh, Sandeep Gupta
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+
+subdemolist = ["High Pass Filter", "Filter.dem.sce";
+ "Analog Filters","analogFilter.dem.sce";
+ "Filter Responses","FilterResponse.dem.sce";
+ ];
+
+global SCI2CHOME;
+subdemolist(:,2) = SCI2CHOME + "/demos/Filters/"+ subdemolist(:,2);
diff --git a/2.3-1/demos/analogFilter.dem.sce b/2.3-1/demos/Filters/analogFilter.dem.sce
index 674c9543..674c9543 100644
--- a/2.3-1/demos/analogFilter.dem.sce
+++ b/2.3-1/demos/Filters/analogFilter.dem.sce
diff --git a/2.3-1/demos/FULLRF.dem.sce b/2.3-1/demos/LinearAlgebra/FULLRF.dem.sce
index 3aeeba20..3aeeba20 100644
--- a/2.3-1/demos/FULLRF.dem.sce
+++ b/2.3-1/demos/LinearAlgebra/FULLRF.dem.sce
diff --git a/2.3-1/demos/GIVENS.dem.sce b/2.3-1/demos/LinearAlgebra/GIVENS.dem.sce
index 0ab2d2a7..0ab2d2a7 100644
--- a/2.3-1/demos/GIVENS.dem.sce
+++ b/2.3-1/demos/LinearAlgebra/GIVENS.dem.sce
diff --git a/2.3-1/demos/HESS.dem.sce b/2.3-1/demos/LinearAlgebra/HESS.dem.sce
index 4c70d67b..4c70d67b 100644
--- a/2.3-1/demos/HESS.dem.sce
+++ b/2.3-1/demos/LinearAlgebra/HESS.dem.sce
diff --git a/2.3-1/demos/HOUSEHOLDER.dem.sce b/2.3-1/demos/LinearAlgebra/HOUSEHOLDER.dem.sce
index 74474071..74474071 100644
--- a/2.3-1/demos/HOUSEHOLDER.dem.sce
+++ b/2.3-1/demos/LinearAlgebra/HOUSEHOLDER.dem.sce
diff --git a/2.3-1/demos/LinearAlgebra/LinearAlgebra.dem.gateway.sce b/2.3-1/demos/LinearAlgebra/LinearAlgebra.dem.gateway.sce
new file mode 100644
index 00000000..ef99e531
--- /dev/null
+++ b/2.3-1/demos/LinearAlgebra/LinearAlgebra.dem.gateway.sce
@@ -0,0 +1,27 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+//
+// 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
+// Author: Jorawar Singh, Sandeep Gupta
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+
+subdemolist = ["Singular Value Decomposition", "SVD.dem.sce";
+ "Singular Value Approximation", "SVA.dem.sce";
+ "SQROOT", "SQROOT.dem.sce";
+ "SPEC", "SPEC.dem.sce";
+ "ROWCOMP","ROWCOMP.dem.sce";
+ "QR Decomposition", "QR.dem.sce";
+ "NORM type 2", "NORM.dem.sce";
+ "HOUSEHOLDER","HOUSEHOLDER.dem.sce";
+ "HESS", "HESS.dem.sce";
+ "GIVENS Transformation", "GIVENS.dem.sce";
+ "Full rank factorization","FULLRF.dem.sce";
+ ];
+
+global SCI2CHOME;
+subdemolist(:,2) = SCI2CHOME + "/demos/LinearAlgebra/"+ subdemolist(:,2);
diff --git a/2.3-1/demos/NORM.dem.sce b/2.3-1/demos/LinearAlgebra/NORM.dem.sce
index 1de3feba..1de3feba 100644
--- a/2.3-1/demos/NORM.dem.sce
+++ b/2.3-1/demos/LinearAlgebra/NORM.dem.sce
diff --git a/2.3-1/demos/QR.dem.sce b/2.3-1/demos/LinearAlgebra/QR.dem.sce
index 7d2fc1a3..7d2fc1a3 100644
--- a/2.3-1/demos/QR.dem.sce
+++ b/2.3-1/demos/LinearAlgebra/QR.dem.sce
diff --git a/2.3-1/demos/ROWCOMP.dem.sce b/2.3-1/demos/LinearAlgebra/ROWCOMP.dem.sce
index 6557eb4c..6557eb4c 100644
--- a/2.3-1/demos/ROWCOMP.dem.sce
+++ b/2.3-1/demos/LinearAlgebra/ROWCOMP.dem.sce
diff --git a/2.3-1/demos/SPEC.dem.sce b/2.3-1/demos/LinearAlgebra/SPEC.dem.sce
index 423c1520..423c1520 100644
--- a/2.3-1/demos/SPEC.dem.sce
+++ b/2.3-1/demos/LinearAlgebra/SPEC.dem.sce
diff --git a/2.3-1/demos/SQROOT.dem.sce b/2.3-1/demos/LinearAlgebra/SQROOT.dem.sce
index 676d5e52..676d5e52 100644
--- a/2.3-1/demos/SQROOT.dem.sce
+++ b/2.3-1/demos/LinearAlgebra/SQROOT.dem.sce
diff --git a/2.3-1/demos/SVA.dem.sce b/2.3-1/demos/LinearAlgebra/SVA.dem.sce
index 3ced74f5..3ced74f5 100644
--- a/2.3-1/demos/SVA.dem.sce
+++ b/2.3-1/demos/LinearAlgebra/SVA.dem.sce
diff --git a/2.3-1/demos/SVD.dem.sce b/2.3-1/demos/LinearAlgebra/SVD.dem.sce
index aa35cce9..aa35cce9 100644
--- a/2.3-1/demos/SVD.dem.sce
+++ b/2.3-1/demos/LinearAlgebra/SVD.dem.sce
diff --git a/2.3-1/demos/RPi/RPi.dem.gateway.sce b/2.3-1/demos/RPi/RPi.dem.gateway.sce
new file mode 100644
index 00000000..c125e9c7
--- /dev/null
+++ b/2.3-1/demos/RPi/RPi.dem.gateway.sce
@@ -0,0 +1,18 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+//
+// 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
+// Author: Jorawar Singh, Sandeep Gupta
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+
+subdemolist = ["Wait and Blink","test_wait_and_blink.dem.sce";
+ "LCD","test_lcd.dem.sce"
+ ];
+
+global SCI2CHOME;
+subdemolist(:,2) = SCI2CHOME + "/demos/RPi/"+ subdemolist(:,2);
diff --git a/2.3-1/demos/RPi/test_lcd.dem.sce b/2.3-1/demos/RPi/test_lcd.dem.sce
new file mode 100644
index 00000000..2bd19516
--- /dev/null
+++ b/2.3-1/demos/RPi/test_lcd.dem.sce
@@ -0,0 +1,19 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+//
+// 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
+// Author: Jorawar Singh, Sandeep Gupta
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+//
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME + "/tests/unit_tests/test_RPi/lcd.sci", TMPDIR,SCI2CHOME + "/tests/unit_tests/test_RPi/", "All", "make" ,"RPi", "uno");
+
+editor([TMPDIR+"/main.c"]);
diff --git a/2.3-1/demos/RPi/test_wait_and_blink.dem.sce b/2.3-1/demos/RPi/test_wait_and_blink.dem.sce
new file mode 100644
index 00000000..31396c60
--- /dev/null
+++ b/2.3-1/demos/RPi/test_wait_and_blink.dem.sce
@@ -0,0 +1,19 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+//
+// 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
+// Author: Jorawar Singh, Sandeep Gupta
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+//
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME + "/tests/unit_tests/test_RPi/wait_and_blink.sci", TMPDIR,SCI2CHOME + "/tests/unit_tests/test_RPi/", "All", "make" ,"RPi", "uno");
+
+editor([TMPDIR+"/main.c"]);
diff --git a/2.3-1/demos/scilab2c.dem.gateway.sce b/2.3-1/demos/scilab2c.dem.gateway.sce
index bc158bfa..1e2a6c7f 100644
--- a/2.3-1/demos/scilab2c.dem.gateway.sce
+++ b/2.3-1/demos/scilab2c.dem.gateway.sce
@@ -12,36 +12,17 @@
demopath = get_absolute_file_path("scilab2c.dem.gateway.sce");
-subdemolist = ["Trigonometric Identity" , "TrigonometricIdentity.dem.sce";
+subdemolist =["Linear Algebra","LinearAlgebra/LinearAlgebra.dem.gateway.sce";
+ "Arduino","Arduino/Arduino.dem.gateway.sce";
+ "Cosine Transforms","CT/CT.dem.gateway.sce";
+ "Filters","Filters/Filters.dem.gateway.sce";
+ "Raspberry Pi","RPi/RPi.dem.gateway.sce";
+ "Trigonometric Identity" , "TrigonometricIdentity.dem.sce";
"Linear Regression" , "LinearRegression.dem.sce";
"Symbols", "Symbols.dem.sce";
- "High Pass Filter", "Filter.dem.sce";
- "Jacobi functions","Jacobi.dem.sce";
- "Analog Filters","analogFilter.dem.sce";
- "Discrete Cosine Transform" , "test_dct.dem.sce";
- "Inverse Cosine Transform" , "test_idct.dem.sce";
- "String Functions","string.dem.sce";
- "Filter Responses","FilterResponse.dem.sce";
- "Singular Value Decomposition", "SVD.dem.sce";
- "Singular Value Approximation", "SVA.dem.sce";
- "SQROOT", "SQROOT.dem.sce";
- "SPEC", "SPEC.dem.sce";
- "ROWCOMP","ROWCOMP.dem.sce";
- "QR Decomposition", "QR.dem.sce";
- "NORM type 2", "NORM.dem.sce";
- "HOUSEHOLDER","HOUSEHOLDER.dem.sce";
- "HESS", "HESS.dem.sce";
- "GIVENS Transformation", "GIVENS.dem.sce";
- "Full rank factorization","FULLRF.dem.sce";
- "Arduino blink", "blink.dem.sce";
- "Arduino digital input", "digital_in.dem.sce";
- "Arduino analog voltage i/o", "analog_in_out_volt.dem.sce";
- "Arduino analog output", "analog_out.dem.sce";
- "Arduino DC motor", "dc_motor.dem.sce";
- "Arduino Master write", "master_write.dem.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";
- ];
-
+ "Jacobi functions","Jacobi.dem.sce";
+ "String Functions","string.dem.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);