summaryrefslogtreecommitdiff
path: root/macros/ToolInitialization/floatcomplex.sci
diff options
context:
space:
mode:
authorAnkit Raj2017-06-21 10:26:59 +0530
committerAnkit Raj2017-06-21 10:26:59 +0530
commit958577cac90a99124cd673fde1926781d966d91f (patch)
tree134d9fe7f5b97a647cb055bb7b4c21820a749f49 /macros/ToolInitialization/floatcomplex.sci
downloadscilab2c-958577cac90a99124cd673fde1926781d966d91f.tar.gz
scilab2c-958577cac90a99124cd673fde1926781d966d91f.tar.bz2
scilab2c-958577cac90a99124cd673fde1926781d966d91f.zip
Updated Scilab2C
Diffstat (limited to 'macros/ToolInitialization/floatcomplex.sci')
-rw-r--r--macros/ToolInitialization/floatcomplex.sci26
1 files changed, 26 insertions, 0 deletions
diff --git a/macros/ToolInitialization/floatcomplex.sci b/macros/ToolInitialization/floatcomplex.sci
new file mode 100644
index 00000000..eedae766
--- /dev/null
+++ b/macros/ToolInitialization/floatcomplex.sci
@@ -0,0 +1,26 @@
+function y = floatcomplex(x)
+// function y = floatcomplex(x)
+// -----------------------------------------------------------------
+// //NUT: add description here
+//
+// Input data:
+// //NUT: add description here
+//
+// Output data:
+// //NUT: add description here
+//
+// Status:
+// 27-Oct-2007 -- Raffaele Nutricato: Author.
+//
+// Copyright 2007 Raffaele Nutricato.
+// Contact: raffaele.nutricato@tiscali.it
+// -----------------------------------------------------------------
+
+// ------------------------------
+// --- Check input arguments. ---
+// ------------------------------
+SCI2CNInArgCheck(argn(2),1,1);
+
+y = x+0*%i;
+
+endfunction \ No newline at end of file