diff options
author | jofret | 2010-04-06 08:49:24 +0000 |
---|---|---|
committer | jofret | 2010-04-06 08:49:24 +0000 |
commit | 5c6acafa21af29a0de3a997868c3daea74731753 (patch) | |
tree | de1fab64a259c4254489356a0ce8b5fefec65d15 | |
parent | 4826d97d78c6dfc6fe56fab557e46a75405f3554 (diff) | |
download | scilab2c-5c6acafa21af29a0de3a997868c3daea74731753.tar.gz scilab2c-5c6acafa21af29a0de3a997868c3daea74731753.tar.bz2 scilab2c-5c6acafa21af29a0de3a997868c3daea74731753.zip |
Removing old launching process
-rw-r--r-- | scilab2c/macros/LaunchMultiRunSCI2C.sci | 82 | ||||
-rw-r--r-- | scilab2c/macros/LaunchRunSCI2C.sci | 39 |
2 files changed, 0 insertions, 121 deletions
diff --git a/scilab2c/macros/LaunchMultiRunSCI2C.sci b/scilab2c/macros/LaunchMultiRunSCI2C.sci deleted file mode 100644 index 307e4f42..00000000 --- a/scilab2c/macros/LaunchMultiRunSCI2C.sci +++ /dev/null @@ -1,82 +0,0 @@ -// Before launching this script, please
-// check all the paths below.
-// User should change parameters only in (USER PARAMETERS) sections.
-// cd C:\Nutricato\OpenProjects\FP6_hArtes\WP2_SCI2C\Software\Scilab2C; exec LaunchMultiRunSCI2C.sci
-
-function LaunchMultiRunSCI2C()
-// --- CLEAN WORKSPACE ---
-//exec full_reset.sce;
-//mode(-1);
-
-// --- GENERAL SETTINGS (USER PARAMETERS) ---
-RunsDirectory = pwd(); // Path of the SCI2CRuns directory
-SCI2CDirectory = 'D:\Nutricato_GAPSVN\PROGETTI_APERTI\POLIBA\hArtes\WP2_SCI2C\Software\Version_alpha\Scilab2C'; // Path of the Scilab2C directory
-
-// --- SPECIFIC SETTINGS (USER PARAMETERS) ---
-FullListSCI2CInputPrmFiles = ...
- [...
- 'D:\Nutricato_GAPSVN\PROGETTI_APERTI\POLIBA\hArtes\WP2_SCI2C\Software\Version_alpha\SCI2CTests\test999_WorkingDir\SCI2CInputParameters.sce';...
- ];
-WorkingListSCI2CInputPrmFiles = ...
- [...
- 'D:\Nutricato_GAPSVN\PROGETTI_APERTI\POLIBA\hArtes\WP2_SCI2C\Software\Version_alpha\SCI2CTests\test999_WorkingDir\SCI2CInputParameters.sce';...
- ];
-
-// Select one of the two lists above.
-
-ListSCI2CInputPrmFiles = WorkingListSCI2CInputPrmFiles;
-//ListSCI2CInputPrmFiles = FullListSCI2CInputPrmFiles;
-
-// ================================
-// ================================
-// ================================
-// ================================
-
-// --- LAUNCH MULTIRUNSCI2C ---
-NTranslations = size(ListSCI2CInputPrmFiles,1);
-for cnttransl = 1:NTranslations
- cd(SCI2CDirectory);
-
- SCI2CInputPrmFileName = ListSCI2CInputPrmFiles(cnttransl);
-
- // --- LAUNCH USER SCI CODE TO TEST IT BEFORE TRANSLATING IT!!! ---
- cd(SCI2CDirectory)
- getf("runscicode.sci");
- runscicode(SCI2CInputPrmFileName);
-
- // --- ASK USER FOR CONTINUATION. ---
- userchoice = input('Start translation [y/n]?','s');
- if (userchoice == 'y')
-
- // --- LAUNCH SCI2C ---
- cd(SCI2CDirectory)
- getf("runsci2c.sci");
- runsci2c(SCI2CInputPrmFileName);
- cd(SCI2CDirectory)
- else
- end
-end
-
-// ----------------------------------------
-// --- Compile and Launch all the code. ---
-// ----------------------------------------
-// This option is available only for regression tests.
-if (1==1)
- cd(fullfile(SCI2CDirectory,'ToolInitialization'));
- exec('INIT_SCI2CLoader.sce');
-
- PrintStepInfo('Generate Script for Regression Tests...Available only for Debug.','','both');
- C_GenerateLaunchScript('D:\Nutricato\OpenProjects\FP6_hArtes\WP2_SCI2C\Software\SCI2CTests\RegressionTests',ListSCI2CInputPrmFiles);
-end
-
-// ---------------------------------------
-// --- Go back to the start directory. ---
-// ---------------------------------------
-cd (RunsDirectory);
-
-// ------------------------
-// --- Close all files. ---
-// ------------------------
-// --- This must be the last instruction. ---
-mclose('all');
-endfunction
\ No newline at end of file diff --git a/scilab2c/macros/LaunchRunSCI2C.sci b/scilab2c/macros/LaunchRunSCI2C.sci deleted file mode 100644 index a30b9161..00000000 --- a/scilab2c/macros/LaunchRunSCI2C.sci +++ /dev/null @@ -1,39 +0,0 @@ -// Before launching this script, please -// check all the paths below. -// User should change parameters only in (USER PARAMETERS) sections. -// cd C:\SCI2CTests\SCI2CRuns; exec LaunchRunSCI2C.sci - -function LaunchRunSCI2C() -// --- CLEAN WORKSPACE --- -// exec full_reset.sce; -// mode(-1); - -// --- GENERAL SETTINGS (USER PARAMETERS) --- -RunsDirectory = pwd(); // Path of the SCI2CRuns directory - -SCI2CDirectory = '.'; - -// --- SPECIFIC SETTINGS (USER PARAMETERS) --- -SCI2CInputPrmFileName = '../SCI2CTests/test999_WorkingDir/SCI2CInputParameters.sce'; - -// --- LAUNCH USER SCI CODE TO TEST IT BEFORE TRANSLATING IT!!! --- -//cd(SCI2CDirectory) -//getf("runscicode.sci"); -runscicode(SCI2CInputPrmFileName); - -// --- ASK USER FOR CONTINUATION. --- -userchoice = input('Start translation [y/n]?','s'); -if (userchoice == 'y') - // --- LAUNCH SCI2C --- - //cd(SCI2CDirectory); - //getf("runsci2c.sci"); - runsci2c(SCI2CInputPrmFileName); - cd(SCI2CDirectory); -end - -// --- GO BACK TO THE ORIGINAL DIRECTORY. --- -cd (RunsDirectory); - -// --- CLOSE ALL FILES. --- -mclose('all'); -endfunction
\ No newline at end of file |