In my program I created a for loop that goes through different parameter values for processing an image and at the end it saves each image with the different parameter value. The only problem is that it only goes through the first iteration. 1. program load all paramater values 2. for loop
for JitterAmp = 0:0.33:0.66 for TarScale = 0.001:0.100:1 % does all calculations
% saves all images
if Nbits > 16 fname = [nameString, '.raw']endcd(oldfolder); % this contains the pathname where file is to be saved
% it then simData with bit numbers
if Nbits > 16 writeSimData (oldfolder, fName, uint32(F5));end endend
The program works for only the first iteration where JitterAmp is 0 and tarScale is 0.001. After it saves it , the program stops. What can I do?
Best Answer