Execute matlab files from C sharp
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (1)
Kaustubha Govind
le 7 Août 2011
0 votes
You might also want to explore interfacing with MATLAB by starting it as a COM Server from your C# application.
1 commentaire
mattia
le 8 Août 2011
Catégories
En savoir plus sur File Operations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!