Execute several m-files one after the other
2 ビュー (過去 30 日間)
For an import routine I would like to execute different m-files one after the other. Here at, the file source is then asked:
[path] = uigetdir('C:\Users\gxxxx\Desktop\','Please select folder ...');
How can I, on the one hand, control that the various m-files are opened and executed one after the other, and how can I bypass the query shown above when specifying the path and always use the path of the m-file as the source directory?
回答 (1 件)
Walter Roberson 2020 年 8 月 31 日
Provide your own uigetdir.m that has the behavior you want. Including possibly having set up ahead of time which directories you want to read from, and having your uigetdir() supply the next directory in sequence each time it is called.