MATLAB: Open file in notepad via gui

guinotepadopen ascii

Hellow, i search a method to open a file in notepad or another simple txt reader from a gui. So my code generates a ascii file and if i push a button the file have to open notepad. my ascii file is: a = sinogram.sin;
if have found open('a');
but then it opens in matlab itself. Thx

Best Answer

Example:
!notepad C:\Program Files\MyFolder\textFile.txt
Just replace that path with your own.