how to close windows photo viewer using matlab command?
4 次查看(过去 30 天)
显示 更早的评论
- 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 个评论
采纳的回答
Walter Roberson
2016-10-18
PhotoViewer does not have its own executable name; see http://www.sevenforums.com/software/180378-where-windows-photo-viewer-default-location.html
0 个评论
更多回答(1 个)
KSSV
2016-10-18
doc close, fclose
1 个评论
Walter Roberson
2016-10-18
Those are not relevant to something created using winopen(), which is roughly equivalent to double-clicking on the file in Windows Explorer.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!