Clear Filters
Clear Filters

how to close windows photo viewer using matlab command?

2 views (last 30 days)
  • 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.

Accepted Answer

Walter Roberson
Walter Roberson on 18 Oct 2016

More Answers (1)

KSSV
KSSV on 18 Oct 2016
doc close, fclose
  1 Comment
Walter Roberson
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.

Sign in to comment.

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!