how to close dos command window using matlab

I just want to know what is the matlab instruction to do this.
Thanks,

Answers (2)

Which DOS command window?

2 Comments

A FLAC 600 window which is a geotechnical numerical program for modelling tunnels, for instance.
How did the program get launched?

Sign in to comment.

LM
LM on 6 Apr 2011
The window is C:\WINDOWS\system32\cmd.exe I tried this in MATLAB: winclosewin('C:\WINDOWS\system32\cmd.exe');
But it doesn't work.
Thank you,

3 Comments

"It doesn't work" is not an exhaustive description of the errors. Do you get an error message? It seems, like WINCLOSEWIN is a Matlab R12 P-coded file. This might cause some troubles already.
I've solved the problem in another way. Thank you for your help, anyway.
How'd you solve the problem? I want to close a dos window from matlab...

Sign in to comment.

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Asked:

LM
on 6 Apr 2011

Community Treasure Hunt

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

Start Hunting!