summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authornutricato2009-02-20 15:20:05 +0000
committernutricato2009-02-20 15:20:05 +0000
commit092d19bcd143bd7b77a05c4948b1fa849615bdee (patch)
tree2f6026669ff4e1ec2a1834f28bd411131c452032 /Doc
parenta054e9271f711824788bb14d49ed9d0966cc7bb9 (diff)
downloadscilab2c-092d19bcd143bd7b77a05c4948b1fa849615bdee.tar.gz
scilab2c-092d19bcd143bd7b77a05c4948b1fa849615bdee.tar.bz2
scilab2c-092d19bcd143bd7b77a05c4948b1fa849615bdee.zip
Diffstat (limited to 'Doc')
-rw-r--r--Doc/HowToInstallAndUseSCI2C.txt27
-rw-r--r--Doc/QuickInstallationAndTest.txt19
-rw-r--r--Doc/SCI2CUserGuidev1.docbin393216 -> 0 bytes
-rw-r--r--Doc/SCI2CUserGuidev3.docbin0 -> 352768 bytes
4 files changed, 46 insertions, 0 deletions
diff --git a/Doc/HowToInstallAndUseSCI2C.txt b/Doc/HowToInstallAndUseSCI2C.txt
new file mode 100644
index 00000000..ec08ab42
--- /dev/null
+++ b/Doc/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/Doc/QuickInstallationAndTest.txt b/Doc/QuickInstallationAndTest.txt
new file mode 100644
index 00000000..19ed8f58
--- /dev/null
+++ b/Doc/QuickInstallationAndTest.txt
@@ -0,0 +1,19 @@
+-----------------------------------
+--- QUICK INSTALLATION OF SCI2C ---
+-----------------------------------
+1. Install scilab-5.0.1.exe. Download available at www.scilab.org
+2. Copy sci2ctool-0.3 into your PC.
+
+---------------------------
+--- QUICK TEST OF SCI2C ---
+---------------------------
+1. Configure CCompilerPathStyle parameter of "sci2ctool-0.3\SCI2CTests\test999_WorkingDir\SCI2CInputParameters.sce" file
+2. Open scilab
+4. Enter (cd) in sci2ctool-0.3\Scilab2C
+5. Type mclose('all')
+6. Type exec LaunchRunSCI2C.sci
+7. Answer y to "Start translation [y/n]:" question.
+8. At the end of the of the translation in sci2ctool-0.3\SCI2CTests\test999_WorkingDir\C_Code the C code should be available.
+9. Compile and execute the C code by using makefile in sci2ctool-0.3\SCI2CTests\test999_WorkingDir\C_Code
+10. Launch again Sci2C -> exec LaunchRunSCI2C.sci -> Answer n to "Start translation [y/n]:" question.
+11. Compare C results with Scilab results. -> If they are the same, installation has been performed correctly!!!
diff --git a/Doc/SCI2CUserGuidev1.doc b/Doc/SCI2CUserGuidev1.doc
deleted file mode 100644
index c0bf4bf1..00000000
--- a/Doc/SCI2CUserGuidev1.doc
+++ /dev/null
Binary files differ
diff --git a/Doc/SCI2CUserGuidev3.doc b/Doc/SCI2CUserGuidev3.doc
new file mode 100644
index 00000000..2038ebe6
--- /dev/null
+++ b/Doc/SCI2CUserGuidev3.doc
Binary files differ