shall I open a "windows' *.exe file" by matlab code?
1 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(2 个)
Image Analyst
2014-7-6
Use the system() function. For example:
system('notepad.exe')
4 个评论
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!