Execute matlab files from C sharp
显示 更早的评论
Hello everyone,
I am trying to write a simple C sharp program that runs a matlab script. I tried executing the .bat file, passing the argument -r "file.m" but it just opens the matlab GUI without executing the file. I would also like to pass a reference value (in my case the name of a database from which matlab should read while executing the script). How could I do that?
Thanks, mattia
采纳的回答
更多回答(1 个)
Kaustubha Govind
2011-8-7
0 个投票
You might also want to explore interfacing with MATLAB by starting it as a COM Server from your C# application.
类别
在 帮助中心 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!