How to use system ()
Show older comments
Friends,
I have this code which works fine:
system(['C:/My_program/folder_images/myexecutable.exe <' fname_path]);
But I need to use which() to determine where 'myexecutable.exe' is. So I'm trying to use this:
exe_path = which ('myexecutable.exe')
system(['exe_path <' fname_path]);
but it doesn't work. Can anybody help me please? Thank you in advance.
Accepted Answer
More Answers (2)
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!