From 092d19bcd143bd7b77a05c4948b1fa849615bdee Mon Sep 17 00:00:00 2001 From: nutricato Date: Fri, 20 Feb 2009 15:20:05 +0000 Subject: --- Doc/HowToInstallAndUseSCI2C.txt | 27 +++++++++++++++++++++++++++ Doc/QuickInstallationAndTest.txt | 19 +++++++++++++++++++ Doc/SCI2CUserGuidev1.doc | Bin 393216 -> 0 bytes Doc/SCI2CUserGuidev3.doc | Bin 0 -> 352768 bytes 4 files changed, 46 insertions(+) create mode 100644 Doc/HowToInstallAndUseSCI2C.txt create mode 100644 Doc/QuickInstallationAndTest.txt delete mode 100644 Doc/SCI2CUserGuidev1.doc create mode 100644 Doc/SCI2CUserGuidev3.doc (limited to 'Doc') 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 ; 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 ; 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 Binary files a/Doc/SCI2CUserGuidev1.doc and /dev/null differ diff --git a/Doc/SCI2CUserGuidev3.doc b/Doc/SCI2CUserGuidev3.doc new file mode 100644 index 00000000..2038ebe6 Binary files /dev/null and b/Doc/SCI2CUserGuidev3.doc differ -- cgit