Is 开发者_运维知识库there a way through which we can open MS Paint from MATLAB?
try this
system('mspaint');
if you want to open a specific file then build up the string with the correct filename
try
winopen('image.bmp')
or try
help system
help dos
help unix
If you want to open MS Paint and immediately return control to MATLAB (i.e. MATLAB won't wait for the program to be closed), then you can issue a command to the operating system using the bang operator !
like so:
!mspaint &
Or you could use the SYSTEM command as mor22 suggested with &
added to the end of the string:
system('mspaint &');
精彩评论