|
本帖最后由 tenglang 于 2010-12-17 09:09 编辑
help uigetfile, you will find:
uigetfile(FilterSpec,DialogTitle,DefaultName) displays a dialog box in which the filename specified by DefaultName appears in the File name field. DefaultName can also be a path or a path/filename. In this case, uigetfile opens the dialog box in the directory specified by the path. See Example 6 . Note that you can use '.','..', or '/' in the DefaultName argument.
Example 6This example uses the DefaultName argument to specify a start path and a default filename for the dialog box.
- uigetfile({'*.jpg;*.tif;*.png;*.gif','All Image Files';...
- '*.*','All Files' },'mytitle',...
- 'C:\Work\myfile.jpg'
复制代码
|
评分
-
2
查看全部评分
-
|