Prev: Numerical Inverse Laplace Transform by Gaussian Quadrature
Next: Flux Integral: Numerical Integration of Vector Field through an interpolated Surface
From: Vasu D on 14 Jul 2010 12:17 Hello, I am using uigetfile() method to take in images as input and multiselect was on. But while selecting the images,if the number of images is more than 65 an error was popped up and only one image was read. I have to select images in the range 400-1000(or more).Will it be possible to select all images(huge number of images) using uigetfile()??If not what is the other way??. Could you suggest me in this regard. regards, Vasu D.
From: Steven Lord on 14 Jul 2010 12:47 "Vasu D" <funnybooknpen(a)gmail.com> wrote in message news:i1knu0$40o$1(a)fred.mathworks.com... > Hello, > > I am using uigetfile() method to take in images as input and multiselect > was on. > > But while selecting the images,if the number of images is more than 65 an > error was popped up and only one image was read. And the text of the error message is ... ? > I have to select images in the range 400-1000(or more).Will it be possible > to select all images(huge number of images) using uigetfile()??If not what > is the other way??. Do you really expect users of your code to individually select 400-1000 images? Even if you expect them to click on one image, scroll over to a second image, and Shift-click the second image (to select that one and all inbetween) that's still a lot of work. Do you expect your users to select all the images in one particular directory? If so, the tool you should be using is UIGETDIR. Alternately, if all the images you want to select have names that match a specific pattern, use one of the approaches described in Q4.12 in the newsgroup FAQ. -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ To contact Technical Support use the Contact Us link on http://www.mathworks.com
From: Eric on 14 Jul 2010 13:40
I've run into this problem before. I think on Windows it's a limitation on the number of characters that can be entered in a text box. So a stupid solution is to give the files shorter filenames. Better still is to use uipickfiles by Douglas Schwarz on the File Exchange. I've found this very useful. See http://www.mathworks.com/matlabcentral/fileexchange/10867-uipickfiles-uigetfile-on-steroids Good luck, Eric |