diff options
author | siddhu8990 | 2016-06-27 19:16:41 +0530 |
---|---|---|
committer | siddhu8990 | 2016-06-27 19:16:41 +0530 |
commit | 169db0082ebd07baea82d00213db6ffd4dee7cf6 (patch) | |
tree | c6644d701b64dd82a9d17aab12f5dccb10672126 /macros/scilab2c.sci | |
parent | 396de3715ed2615f81325661c264341165f0edb2 (diff) | |
download | scilab2c-169db0082ebd07baea82d00213db6ffd4dee7cf6.tar.gz scilab2c-169db0082ebd07baea82d00213db6ffd4dee7cf6.tar.bz2 scilab2c-169db0082ebd07baea82d00213db6ffd4dee7cf6.zip |
test commit
Diffstat (limited to 'macros/scilab2c.sci')
-rw-r--r-- | macros/scilab2c.sci | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/scilab2c.sci b/macros/scilab2c.sci index f352d1c5..19b1f2b4 100644 --- a/macros/scilab2c.sci +++ b/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. --- |