shall I open a "windows' *.exe file" by matlab code?
Ältere Kommentare anzeigen
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!
Antworten (2)
Image Analyst
am 6 Jul. 2014
Use the system() function. For example:
system('notepad.exe')
4 Kommentare
vx2008
am 6 Jul. 2014
Image Analyst
am 6 Jul. 2014
Replace notepad.exe with the full pathname of your executable. No need to search for it if you know it in advance.
vx2008
am 6 Jul. 2014
Image Analyst
am 6 Jul. 2014
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.
Kategorien
Mehr zu Files and Folders finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!