How to loop string files in the IBWread function.
2 views (last 30 days)
I am using IBWread function to convert igor file to matlap workspace. I would like to know how can i loop the script from 1 to 5 for ii and 2to 6 for jj. I use the following code.
Data = IBWread('%d.ibw',ii);% i want IBWread('1.ibw')
Data1 = IBWread('%d.ibw',jj);
I want to run IBWread('1.ibw') in my first iteration to IBWread('5.ibw') to my last iteration. But my code shows error. Kindly help.