summaryrefslogtreecommitdiff
path: root/2.3-1/macros/scilab2c.sci
diff options
context:
space:
mode:
authorsiddhu89902016-06-27 19:16:41 +0530
committersiddhu89902016-06-27 19:16:41 +0530
commitd7d53dc95a7cb9878a4e49bdd06e626e981b0eb2 (patch)
tree9f918cd4dfba745362e0cf3341c1eb65ac239dd3 /2.3-1/macros/scilab2c.sci
parent7e9419d65013fa1109dd67deaabf77aa34011a35 (diff)
downloadScilab2C-d7d53dc95a7cb9878a4e49bdd06e626e981b0eb2.tar.gz
Scilab2C-d7d53dc95a7cb9878a4e49bdd06e626e981b0eb2.tar.bz2
Scilab2C-d7d53dc95a7cb9878a4e49bdd06e626e981b0eb2.zip
test commit
Diffstat (limited to '2.3-1/macros/scilab2c.sci')
-rw-r--r--2.3-1/macros/scilab2c.sci4
1 files changed, 2 insertions, 2 deletions
diff --git a/2.3-1/macros/scilab2c.sci b/2.3-1/macros/scilab2c.sci
index f352d1c5..19b1f2b4 100644
--- a/2.3-1/macros/scilab2c.sci
+++ b/2.3-1/macros/scilab2c.sci
@@ -121,7 +121,7 @@ function scilab2c(varargin)
return
end
if varargin(6) <> "StandAlone" & varargin(6) <> "Arduino" & varargin(6) <> "AVR" & varargin(6) <> "RPi"
- error(msprintf(gettext("%s: argument #%d must be: ""StandAlone"" or ""Arduino"" or ""AVR"".\n"),"scilab2c",5));
+ error(msprintf(gettext("%s: argument #%d must be: ""StandAlone"" or ""Arduino"" or ""AVR"" or ""RPi"".\n"),"scilab2c",5));
return
end
UserScilabMainFile = varargin(1);
@@ -144,7 +144,7 @@ error(msprintf(gettext("%s: Wrong number of input argument(s): %d expected.\n"),
// --- LAUNCH USER SCI CODE TO TEST IT BEFORE TRANSLATING IT!!! ---
// If Target choosen is 'Standalone' then only execute the code, otherwise directly start conversion.
- if Target == "StandAlone"
+ if ((Target == "StandAlone") | (Target == "RPi"))
runscicode(UserScilabMainFile, UserSciFilesPaths);
// --- ASK USER FOR CONTINUATION. ---