MATLAB File Parsing: Text Replacement

IN PROGRESS
Bids
5
Avg Bid (USD)
$147
Project Budget (USD)
$30 - $250

Project Description:
Please quote price and time-to-delivery for the following, you can modify the MATLAB code as needed to achieve this but the ".afl" text files should remain as they are (this is mostly a brief debugging/fix up of MATLAB code): In the attached MATLAB code file (the preprocessing m file in the zip, this is to run in MATLAB version r2007a), the goal is to replace the Optimize calls in the Runopt.afl file, to the format:
else if(ToOPt == 1080){
if (numParamVals == 5.000000){
Params[1.000000] = 1;
Params[2.000000] = 2;
Params[3.000000] = 3;
Params[4.000000] = 4;
Params[5.000000] = 5; }
ParamValUseInThisLoopIteration = paramval[thisParamValSelected]; }
…as per the formulas in the m file. This should be done for both the parameterValueArraySize = 5 and parameterValueArraySize = 10 versions as per the m file. The m file does this by reading from the other AFL files in the zip (MainGlobalDeclarations31part1.afl, and MainGlobalDeclarations31part2.afl) However, some of the ToOpt == items are NOT being replaced (as shown in the _5, _10 example AFLs included in the zip), please fix this so ALL are being replaced as per the Params setting formulas in the m file.

Skills required:
Matlab & Mathematica
Additional Files: MATLAB+parsing+files.zip
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.