中文说明:假设你有3、13、113三个文件,想要按照3-13-113的顺序读入,但是用dir的时候读入顺序是113-13-3,这时候想要实现按照自然数递增顺序读入的时候,最简单的方法就是用uigetfile函数:uigetfile会弹出一个选择文件的窗口,在窗口中调整你的文件顺序,全选读入,就会按照相应的顺序读入。电脑上可以实现的排列顺序,都可以实现。
English Description:
Suppose you have 3, 13, 113 three files, you want to read in the order of 3-13-113, but when you use dir, the order is 113-13-3. At this point, when you want to achieve the natural number in ascending order, the simplest way is to use the uigetfile function: uigetfile will pop up a window to select the file, adjust your file order in the window, and select the whole input, then follow it. Read in the corresponding order. Computer can achieve the order, can be achieved.