summaryrefslogtreecommitdiff
path: root/macros/FunctionAnnotation/FA_SZ_1.sci
diff options
context:
space:
mode:
authoryash11122017-07-07 21:20:49 +0530
committeryash11122017-07-07 21:20:49 +0530
commit3f52712f806fbd80d66dfdcaff401e5cf94dcca4 (patch)
treea8333b8187cb44b505b9fe37fc9a7ac8a1711c10 /macros/FunctionAnnotation/FA_SZ_1.sci
downloadscilab2c-3f52712f806fbd80d66dfdcaff401e5cf94dcca4.tar.gz
scilab2c-3f52712f806fbd80d66dfdcaff401e5cf94dcca4.tar.bz2
scilab2c-3f52712f806fbd80d66dfdcaff401e5cf94dcca4.zip
sci2c arduino updated
Diffstat (limited to 'macros/FunctionAnnotation/FA_SZ_1.sci')
-rw-r--r--macros/FunctionAnnotation/FA_SZ_1.sci21
1 files changed, 21 insertions, 0 deletions
diff --git a/macros/FunctionAnnotation/FA_SZ_1.sci b/macros/FunctionAnnotation/FA_SZ_1.sci
new file mode 100644
index 00000000..3d20b992
--- /dev/null
+++ b/macros/FunctionAnnotation/FA_SZ_1.sci
@@ -0,0 +1,21 @@
+function outsize = FA_SZ_1(insize)
+// function outsize = FA_SZ_1(insize)
+// -----------------------------------------------------------------
+// Returns the first element of the size array.
+//
+// Input data:
+// insize: size of input argument. It is an array of 2 strings.
+// The first string specifies the number of rows.
+// The second string specifies the number of columns.
+//
+// Output data:
+// outsize: first element of the insize array.
+//
+// Status:
+// 08-Dec-2007 -- Raffaele Nutricato: Author.
+// 08-Dec-2007 -- Alberto Morea: Test Ok.
+// -----------------------------------------------------------------
+
+outsize = insize(1);
+
+endfunction