MATLAB: Creating the Matlab programme

matlab programme

i have programme in command window.now i want to convert it to the script.then I want to run it for several images. is there any method.if you know it, please answer.I'm new for MATLAB.

Best Answer

You need to put the code into an editor window. If you see the editor tab, click the new button and select a script or function. Then use code like in the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F