필터 지우기
필터 지우기

shall I open a "windows' *.exe file" by matlab code?

조회 수: 2 (최근 30일)
vx2008
vx2008 2014년 7월 6일
댓글: Image Analyst 2014년 7월 6일
I want to made an GUI in which I plan to open a windows' exe file by matlab code, how?
In addition, shall I search an exe file on windows by matlab code?
Thanks!

답변 (2개)

Image Analyst
Image Analyst 2014년 7월 6일
Use the system() function. For example:
system('notepad.exe')
  댓글 수: 4
vx2008
vx2008 2014년 7월 6일
in the fact, sometime i don;t know the path or I should search it on my computer by windows.
Image Analyst
Image Analyst 2014년 7월 6일
Explain why you don't know where the program you want to run is. If you need to , you can search the entire hard drive for it as long as you know the base file name. See my attached demo where I recursively search a folder and all subfolders.

댓글을 달려면 로그인하십시오.


phani kumar
phani kumar 2014년 7월 6일
winopen('app.exe')
  댓글 수: 1
vx2008
vx2008 2014년 7월 6일
Thank you very much.
but do you know how to get its path when you don;t know where it is.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by