How to run an m-file in MATLAB from Visual Studio in C code
3 views (last 30 days)
Show older comments
I have an application running in Visual Studio 2010, written in C code. I need to start the Matlab and run a specific m-file inside my code. I have successfully used the engwindemo code, but it does not meet my needs.
Best Regards, Vlad Muresan
2 Comments
Kaustubha Govind
on 23 Jul 2012
Vlad: Could you explain how it does not meet your needs, so we know exactly what you're looking for?
Accepted Answer
Titus Edelhofer
on 23 Jul 2012
Hi Vlad,
the command engEvalString evaluates a string in the engine. This string may simply be the name of a function or script to be called (needs to be on the path of course)...
Titus
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!