diff options
author | jofret | 2008-06-05 11:18:34 +0000 |
---|---|---|
committer | jofret | 2008-06-05 11:18:34 +0000 |
commit | 66a00c6e6ab1c9b85db35abc59a5afd65b2ee447 (patch) | |
tree | e69df05e4bc38f2344642a6de00641fbbcb70e4b /src/Scilab2C | |
parent | 4420122a451b41861f0cf696bb749cd2a220e678 (diff) | |
download | scilab2c-66a00c6e6ab1c9b85db35abc59a5afd65b2ee447.tar.gz scilab2c-66a00c6e6ab1c9b85db35abc59a5afd65b2ee447.tar.bz2 scilab2c-66a00c6e6ab1c9b85db35abc59a5afd65b2ee447.zip |
How to...
Diffstat (limited to 'src/Scilab2C')
-rw-r--r-- | src/Scilab2C/HowToInstallAndUseSCI2C.txt | 27 | ||||
-rw-r--r-- | src/Scilab2C/readme.txt | 6 |
2 files changed, 33 insertions, 0 deletions
diff --git a/src/Scilab2C/HowToInstallAndUseSCI2C.txt b/src/Scilab2C/HowToInstallAndUseSCI2C.txt new file mode 100644 index 00000000..cada1f3f --- /dev/null +++ b/src/Scilab2C/HowToInstallAndUseSCI2C.txt @@ -0,0 +1,27 @@ +----------------------------
+--- HOW TO INSTALL SCI2C ---
+----------------------------
+1. Install scilab-4.1.2.exe
+
+2. Configure the following two parameters in Scilab2C/LaunchRunSCI2C.sci:
+ SCI2CDirectory
+ SCI2CInputPrmFileName
+
+3. Configure the following parameters in SCI2CTests\test999_WorkingDir\SCI2CInputParameters.sce
+ UserSciCodeMainDir
+ CCompilerPathStyle
+ Sci2CLibMainHeaderFName
+
+------------------------
+--- HOW TO USE SCI2C ---
+------------------------
+4. Edit mainfunction.sci according to the scilab algorithm to be converted into C
+
+5. Start SCI2C conversion typing the following command in the Scilab workspace:
+ mclose('all'); cd <path of "Scilab2C" directory>; exec LaunchRunSCI2C.sci
+
+6. Compile/Execute C code by using the makefile created in SCI2CTests\test999_WorkingDir\C_Code
+
+7. Compare the results with the Scilab execution by typing again
+ mclose('all'); cd <path of "Scilab2C" directory>; exec LaunchRunSCI2C.sci
+ (answer n when the SCI2C attempts to convert again the scilab code)
diff --git a/src/Scilab2C/readme.txt b/src/Scilab2C/readme.txt new file mode 100644 index 00000000..70c230a8 --- /dev/null +++ b/src/Scilab2C/readme.txt @@ -0,0 +1,6 @@ +tolti tutti i commenti dall'ast management.
+togliere tutti i commenti dalle altre dir.
+rimuovere annotazione di molte funzioni nel fill
+rimuovere funzionalita' delle global e dei cicli for.
+rimuovere supporto alle stringhe.
+trovare con al un esempio piu' carino.
\ No newline at end of file |