summaryrefslogtreecommitdiff
path: root/macros/FunctionAnnotation/FA_TP_ASCII.sci
diff options
context:
space:
mode:
authorAnkit Raj2017-06-21 11:00:07 +0530
committerAnkit Raj2017-06-21 11:00:07 +0530
commitefd4b2645e3fd3c3cdd7b65501a0e7ae26d03c59 (patch)
tree65444449ab64db280008c59b08204ee775db26df /macros/FunctionAnnotation/FA_TP_ASCII.sci
parentb33afdb2311fbe8aad4c5c614c6098585fe2d279 (diff)
downloadScilab2C_fossee_old-efd4b2645e3fd3c3cdd7b65501a0e7ae26d03c59.tar.gz
Scilab2C_fossee_old-efd4b2645e3fd3c3cdd7b65501a0e7ae26d03c59.tar.bz2
Scilab2C_fossee_old-efd4b2645e3fd3c3cdd7b65501a0e7ae26d03c59.zip
Functions added - string related and signal processing
Diffstat (limited to 'macros/FunctionAnnotation/FA_TP_ASCII.sci')
-rw-r--r--macros/FunctionAnnotation/FA_TP_ASCII.sci10
1 files changed, 10 insertions, 0 deletions
diff --git a/macros/FunctionAnnotation/FA_TP_ASCII.sci b/macros/FunctionAnnotation/FA_TP_ASCII.sci
new file mode 100644
index 0000000..e05dd7a
--- /dev/null
+++ b/macros/FunctionAnnotation/FA_TP_ASCII.sci
@@ -0,0 +1,10 @@
+function outtp=FA_TP_ASCII(in1tp)
+
+in1tp=string(in1tp);
+if(in1tp=='g') then
+ outtp='u8';
+else
+ outtp='g';
+end
+
+endfunction