summaryrefslogtreecommitdiff
path: root/2.3-1/macros/scilab2c.sci
diff options
context:
space:
mode:
authorsiddhu89902015-09-28 14:10:44 +0530
committersiddhu89902015-09-28 14:10:44 +0530
commit3bcc8ce62560f36eaaab0e064b169b0118f354f3 (patch)
tree3b02338a8791e887b955b327b6ed987f14346921 /2.3-1/macros/scilab2c.sci
parent02d130cbece220ee2dafeb8d2236a51806e5fac8 (diff)
downloadScilab2C-3bcc8ce62560f36eaaab0e064b169b0118f354f3.tar.gz
Scilab2C-3bcc8ce62560f36eaaab0e064b169b0118f354f3.tar.bz2
Scilab2C-3bcc8ce62560f36eaaab0e064b169b0118f354f3.zip
Extension compatible with both - standalone and Arduino outputs.
Diffstat (limited to '2.3-1/macros/scilab2c.sci')
-rw-r--r--2.3-1/macros/scilab2c.sci2
1 files changed, 2 insertions, 0 deletions
diff --git a/2.3-1/macros/scilab2c.sci b/2.3-1/macros/scilab2c.sci
index 25fc06ac..1d4675e3 100644
--- a/2.3-1/macros/scilab2c.sci
+++ b/2.3-1/macros/scilab2c.sci
@@ -143,7 +143,9 @@ error(msprintf(gettext("%s: Wrong number of input argument(s): %d expected.\n"),
// --- LAUNCH USER SCI CODE TO TEST IT BEFORE TRANSLATING IT!!! ---
+ if OutFormat == "StandAlone"
runscicode(UserScilabMainFile, UserSciFilesPaths);
+ end
// --- ASK USER FOR CONTINUATION. ---
// Do not open confirmation box if we are not in STD mode.