Main Content

winopen

Open file in appropriate application (Windows)

Description

winopen name opens the specified file in the Microsoft® Windows® application associated with the extension of the file. winopen uses a Windows shell command, and performs the same action as double-clicking the file in Windows Explorer.

example

Examples

collapse all

Open the file thesis.docx in Microsoft® Word.

winopen thesis.docx

Open the file my_sine_wave.html in the system Web browser.

winopen my_sine_wave.html
winopen(cd)

Input Arguments

collapse all

Name of file to open, specified as a character vector. name can be an absolute or relative path.

Version History

Introduced before R2006a

See Also

| |