summaryrefslogtreecommitdiff
path: root/macros/scilab2c.sci
diff options
context:
space:
mode:
authorsiddhu89902015-09-28 14:10:44 +0530
committersiddhu89902015-09-28 14:10:44 +0530
commitdd343609eabf4afcee2aa8eeeda3a383333d30e5 (patch)
treed859386d929a2f814ec3bf68c50b1df8fdf1f111 /macros/scilab2c.sci
parente929ae3e4254caac2d29a832ee75d4ed8ae4a380 (diff)
downloadscilab2c-dd343609eabf4afcee2aa8eeeda3a383333d30e5.tar.gz
scilab2c-dd343609eabf4afcee2aa8eeeda3a383333d30e5.tar.bz2
scilab2c-dd343609eabf4afcee2aa8eeeda3a383333d30e5.zip
Extension compatible with both - standalone and Arduino outputs.
Diffstat (limited to 'macros/scilab2c.sci')
-rw-r--r--macros/scilab2c.sci2
1 files changed, 2 insertions, 0 deletions
diff --git a/macros/scilab2c.sci b/macros/scilab2c.sci
index 25fc06ac..1d4675e3 100644
--- a/macros/scilab2c.sci
+++ b/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.