strResponse = input('Do you want more? Y/N [Y]: ', 's');
Via UI
1 2 3 4 5 6 7 8 9 10
prompt = { 'from:','to:','step'}; dlg_title = 'choose images'; num_lines = [413]; % can be a scaler number that applies to all defAns = {'0', '', '1'}; options = 'on'; % enable to resize window answer = inputdlg(prompt,dlg_title,num_lines,defAns);
[filename, pathname] = uigetfile({'*.*';'*.avi';'*.mpg';'*.wmv';'*.asf';'*.asx';'*.mj2'}, 'Select a VIDEO file...'); video_file_name = fullfile(pathname, filename); % use fullfile for OS independent
Get folder via UI
1
output_images_folder = uigetdir(pwd, 'Select the FOLDER where to save images...')