how to close windows photo viewer using matlab command?
2 views (last 30 days)
Show older comments
Stalin Samuel
on 18 Oct 2016
Commented: Walter Roberson
on 18 Oct 2016
- I opened a image using the command "winopen"
- Now my intention is to close the image using matlab commmand.
- I think "taskkil" may be help me but i don't know the exact application name for windows photo viewerI tried using
!taskkill -f -im PhotoViewer.exe
But it gives me the below error
ERROR: The process "PhotoViewer.exe" not found.
0 Comments
Accepted Answer
Walter Roberson
on 18 Oct 2016
PhotoViewer does not have its own executable name; see http://www.sevenforums.com/software/180378-where-windows-photo-viewer-default-location.html
0 Comments
More Answers (1)
KSSV
on 18 Oct 2016
doc close, fclose
1 Comment
Walter Roberson
on 18 Oct 2016
Those are not relevant to something created using winopen(), which is roughly equivalent to double-clicking on the file in Windows Explorer.
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!