How do I call an EXE from a C-MEX S-function ?
4 views (last 30 days)
Show older comments
How do I call an EXE from a C-MEX S-function ?
I am writing a C-MEX S-function, from which an EXE file is going to be called. But I do not know how to call a EXE from a C-MEX S-function. Is there any MATLAB API that does this?
Accepted Answer
MathWorks Support Team
on 11 Sep 2013
There is no MATLAB API for calling a EXE. But you can use the "system" command which is a standard C function to call a EXE from a MEX file.
0 Comments
More Answers (0)
See Also
Categories
Find more on C Shared Library Integration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!