hello i want to know if some on have an idea what command to be used to close a ms-word document using matlab or some code to do that task the word document can be at any memory location of the disk and not only word but even for any other application
If the open application is a COM server, you might also be able to use the MATLAB COM API (Although I haven't tried this on my end):
h = actxGetRunningServer('Word.Application'); h.Quit();
Java Robot Class to automatically access the taskbar and trigger the commands to kill the task.
There is no simple command to do what you want.
Play games and win prizes!Learn more