How to run a .exe file with push button (GUI)?
10 vues (au cours des 30 derniers jours)
I would like to ask for your help, as I have ran out of options.
On my GUI, I would like to run a Matlab app (.exe file), when user clicks on push button (my GUI it's still a .m file).
I have tried:
- run ('path for .exe file')
- run tool.exe
- tool.exe in the call back of my button
I always get an Error message saying that the file can't be found.
Suggestions on how to solve this??
Thanks in advance!
Plus de réponses (1)
vaya putra le 8 Juil 2019
i want to execute file but in difference directory
i am trying to change path using
command =' pf_ext.exe&'
[stat,res]=system(['export PATH=' myPath ' ; ' command])
but the result is unexpected, he did not run that file