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 string 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: