winopen

Open file in appropriate application (Windows)

Syntax

winopen name

Description

example

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.

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.

See Also

| |

Introduced before R2006a