This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Open file in appropriate application (Windows)




winopen(fileName) opens fileName in the associated Microsoft® Windows® application. The application is associated with the extension in fileName in the Windows operating system. filename is a character vector enclosed in single quotes. winopen uses a Windows shell command, and performs the same action as double-clicking the file in the Windows Explorer program. That is, winopen calls the application associated the file extension to open the file. Use an absolute or relative path for fileName.


Open the file thesis.doc, located in the current folder, in the Microsoft Word program:


Open myresults.html in the system Web browser:


On Microsoft Windows platforms, open the current folder in the Windows Explorer tool:


To open a file on the MATLAB® path, use winopen with which. For example, to open the meshgrid function in the Editor, use:


See Also

| |

Introduced before R2006a

Was this topic helpful?