summaryrefslogtreecommitdiff
path: root/2.3-1/macros/scilab2c.sci
diff options
context:
space:
mode:
authorsiddhu89902017-06-21 15:15:50 +0530
committersiddhu89902017-06-21 15:15:50 +0530
commit34bffcd2d147db6733499af5b6f32996d847a733 (patch)
tree68ab7507fbc76a355800e99e34b0e77ccda30b75 /2.3-1/macros/scilab2c.sci
parent0051253bc224286c118c080c79eaed5bf611bd35 (diff)
downloadScilab2C-34bffcd2d147db6733499af5b6f32996d847a733.tar.gz
Scilab2C-34bffcd2d147db6733499af5b6f32996d847a733.tar.bz2
Scilab2C-34bffcd2d147db6733499af5b6f32996d847a733.zip
Bug related to Arduino 'Board name' solved
Diffstat (limited to '2.3-1/macros/scilab2c.sci')
-rw-r--r--2.3-1/macros/scilab2c.sci6
1 files changed, 6 insertions, 0 deletions
diff --git a/2.3-1/macros/scilab2c.sci b/2.3-1/macros/scilab2c.sci
index 69d95541..61ac42d3 100644
--- a/2.3-1/macros/scilab2c.sci
+++ b/2.3-1/macros/scilab2c.sci
@@ -12,6 +12,7 @@
function scilab2c(varargin)
[lhs, rhs] = argn();
+ disp("YES")
select rhs
//
// scilab2c()
@@ -35,6 +36,7 @@ function scilab2c(varargin)
RunMode = 'All';
BuildTool = getNativeBuildTool();
Target = "StandAlone"
+ //Board_name = "uno"
//
// scilab2c(UserScilabMainFile, CCodeOutputDir, UserSciFilesPaths)
//
@@ -55,6 +57,7 @@ function scilab2c(varargin)
RunMode = "All";
BuildTool = getNativeBuildTool();
Target = "StandAlone"
+ //Board_name = "uno"
//
// scilab2c(UserScilabMainFile, CCodeOutputDir, UserSciFilesPaths, RunMode)
//
@@ -79,6 +82,7 @@ function scilab2c(varargin)
RunMode = varargin(4);
BuildTool = getNativeBuildTool();
Target = "StandAlone"
+ //Board_name = "uno"
case 5
for i = 1:4
if typeof(varargin(i)) <> "string"
@@ -104,6 +108,7 @@ function scilab2c(varargin)
RunMode = varargin(4);
BuildTool = varargin(5);
Target = "StandAlone"
+ //Board_name = "uno"
case 6
for i = 1:4
if typeof(varargin(i)) <> "string"
@@ -133,6 +138,7 @@ function scilab2c(varargin)
RunMode = varargin(4);
BuildTool = varargin(5);
Target = varargin(6);
+ //Board_name = "uno";
case 7
for i = 1:4
if typeof(varargin(i)) <> "string"