diff options
author | siddhu8990 | 2016-05-27 11:50:04 +0530 |
---|---|---|
committer | siddhu8990 | 2016-05-27 11:50:04 +0530 |
commit | 49003250e69e4e500742614888e47db789bbe451 (patch) | |
tree | 44bdcb9f8a4989789bbab2e10cd43d114fb237b4 /2.3-1/macros/runsci2c.sci | |
parent | 18587a5f0cf86d636ac23a5be567437cd822bbc2 (diff) | |
download | Scilab2C-49003250e69e4e500742614888e47db789bbe451.tar.gz Scilab2C-49003250e69e4e500742614888e47db789bbe451.tar.bz2 Scilab2C-49003250e69e4e500742614888e47db789bbe451.zip |
Support for basic ODE function added
Diffstat (limited to '2.3-1/macros/runsci2c.sci')
-rw-r--r-- | 2.3-1/macros/runsci2c.sci | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/2.3-1/macros/runsci2c.sci b/2.3-1/macros/runsci2c.sci index 206a362f..da2ba4d3 100644 --- a/2.3-1/macros/runsci2c.sci +++ b/2.3-1/macros/runsci2c.sci @@ -74,7 +74,7 @@ INIT_LoadLibraries(FileInfoDatFile); // ----------------------------------
// --- Perform SCI2C Translation. ---
// ----------------------------------
-if (RunMode == 'All' | RunMode == 'Translate' | RunMode == "FunCall")
+if (RunMode == 'All' | RunMode == 'Translate')
FlagContinueTranslation = 1;
while(FlagContinueTranslation == 1)
UpdateSCI2CInfo(FileInfoDatFile);
@@ -85,12 +85,11 @@ if (RunMode == 'All' | RunMode == 'Translate' | RunMode == "FunCall") end
end
-
-
+load(SharedInfoDatFile,'SharedInfo');
// ---------------------------
// --- Copy library files. ---
// ---------------------------
-if (RunMode <> 'FunCall')
+
global SCI2CHOME
allSources = SCI2CHOME + "/" + getAllSources(Target);
@@ -176,7 +175,7 @@ end // FIXME : Give the user the ability to set this prefix
FunctionPrefix = "SCI2C";
C_GenerateSCI2CHeader(SCI2COutputPath+"/includes/", FunctionPrefix);
-end
+
// -----------------
// --- Epilogue. ---
// -----------------
|