summaryrefslogtreecommitdiff
path: root/demos/c_sum.dem.sce
diff options
context:
space:
mode:
authorrupak2019-08-09 18:23:51 +0530
committerrupak2019-08-09 18:23:51 +0530
commit85bde50698bbdfd891ef194cd700d9a659bd50cd (patch)
tree5b09ea04150f1e11a18022e2145817d84828d563 /demos/c_sum.dem.sce
downloadfossee-scilab-octave-toolbox-85bde50698bbdfd891ef194cd700d9a659bd50cd.tar.gz
fossee-scilab-octave-toolbox-85bde50698bbdfd891ef194cd700d9a659bd50cd.tar.bz2
fossee-scilab-octave-toolbox-85bde50698bbdfd891ef194cd700d9a659bd50cd.zip
first commit
Diffstat (limited to 'demos/c_sum.dem.sce')
-rw-r--r--demos/c_sum.dem.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/demos/c_sum.dem.sce b/demos/c_sum.dem.sce
new file mode 100644
index 0000000..68ea6d0
--- /dev/null
+++ b/demos/c_sum.dem.sce
@@ -0,0 +1,16 @@
+//
+// This file is released under the 3-clause BSD license. See COPYING-BSD.
+
+
+function demo_c_sum()
+
+ mode(-1);
+ lines(0);
+
+ disp("c_sum(3,4)");
+ disp(c_sum(3,4));
+
+endfunction
+
+demo_c_sum();
+clear demo_c_sum;