summaryrefslogtreecommitdiff
path: root/2.3-1/macros/FunctionAnnotation/FA_SZ_LINSPACE_ROW.sci
diff options
context:
space:
mode:
authorimushir2016-02-22 14:18:24 +0530
committerimushir2016-02-22 14:18:24 +0530
commit53ba48050cb84aac181851b1426579e866d8d1dd (patch)
treed434e62f7b1ace342dd3a8d930461f7895107132 /2.3-1/macros/FunctionAnnotation/FA_SZ_LINSPACE_ROW.sci
parent65ca99dd846281e3d1c3066697ad260df0d0909e (diff)
downloadScilab2C-53ba48050cb84aac181851b1426579e866d8d1dd.tar.gz
Scilab2C-53ba48050cb84aac181851b1426579e866d8d1dd.tar.bz2
Scilab2C-53ba48050cb84aac181851b1426579e866d8d1dd.zip
added support of double for linspace
Diffstat (limited to '2.3-1/macros/FunctionAnnotation/FA_SZ_LINSPACE_ROW.sci')
-rw-r--r--2.3-1/macros/FunctionAnnotation/FA_SZ_LINSPACE_ROW.sci4
1 files changed, 4 insertions, 0 deletions
diff --git a/2.3-1/macros/FunctionAnnotation/FA_SZ_LINSPACE_ROW.sci b/2.3-1/macros/FunctionAnnotation/FA_SZ_LINSPACE_ROW.sci
new file mode 100644
index 00000000..986b5291
--- /dev/null
+++ b/2.3-1/macros/FunctionAnnotation/FA_SZ_LINSPACE_ROW.sci
@@ -0,0 +1,4 @@
+function outsize = FA_SZ_LINSPACE_ROW(insize)
+ in1num = string(eval(insize(1)));
+ outsize = in1num;
+endfunction: