matlab and external .exe communicating through memory ?
Afficher commentaires plus anciens
Hello,
I am trying to make Matlab work with an external .exe. The idea is:
- Matlab shall start the .exe and pass some parameters to it ( I guess System(...) does the job for this -- or [status,cmdout] = dos(...); )
- now, the exe runs in a loop, getting some images from a camera / other data and puts it to memory.
- Matlab should get this data from memory while the exe runs. I was thinking of allocating the memory in Matlab and passing its pointer to the exe as starting argument (so it knows where to put the data).
- the exe is then stopped from matlab, setting a memory value (again from input arguments)
Could anyone help me on how to do such a thing? Googled for a long time, but could not find decent tips/starting points.
Any help is appreciated - thanks!
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Code Performance 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!