summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Scilab2C/HowToInstallAndUseSCI2C.txt27
-rw-r--r--src/Scilab2C/readme.txt6
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