フィルターのクリア

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 Center および File ExchangeFile Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by