how to close windows photo viewer using matlab command?

2 次查看(过去 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.

采纳的回答

Walter Roberson
Walter Roberson 2016-10-18

更多回答(1 个)

KSSV
KSSV 2016-10-18
doc close, fclose
  1 个评论
Walter Roberson
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 CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by