open
- : open
file¶ - :
s =open(file)¶ Open file with the program appropriate for its type.
The name is looked up as given and then on the load path. A MAT-file is loaded and its variables are returned in a struct, an M-file is opened in the editor, a figure file is opened as a figure and anything else is handed to the desktop’s default application without waiting for it.