Scilab Function

tk_getfile - dialog to get a file path

### Calling Sequence

  `path=tk_getfile([title='string'])`
  `path=tk_getfile(file_mask,[title='string'])`
  `path=tk_getfile(file_mask,dir,[title='string'])`
  `path=tk_getfile(file_mask,dir,'string')`

### Parameters

- `file_mask` : a character string which gives the file mask to use for file selection. `file_mask` is written with Unix convention. the default value is '*'.
- `dir` : a character string which gives the initial directory used for file search. by default tk_getfile uses the previously selected directory.
- `path` : is the user selected file path if user answers "Ok" or the " " string if user answers "Cancel"
- `title='string'` :Optional arguments which gives the title for the tk_getfile window.

### Description

Creates a dialog window for file selection

### Examples

    tk_getfile()
    tk_getfile('*.sci','SCI/macros/xdess')
    tk_getfile(title='Choose a file name ')

### See Also

`xgetfile` `tk_getdir` `file` `fileinfo`