Why does externally called .exe using the 'system' command freeze on the third call?
Show older comments
I have a Matlab script (R2011b) that calls and external compiled C# program. The C# program opens up a remote application, loads some data, and then saves that data. When I run the C# program from the cmd line it runs just fine and I can run it over and over again. However, when I run the program through Matlab withe the 'system' command it runs fine the first and second time but on a third time it hangs when it tries to save the data. Any suggestions on what might be going on here? I've tried calling the program through a batch file also and also tried compiling the Matlab code but the results were the same. Thanks in advanced for any suggestions.
Accepted Answer
More Answers (0)
Categories
Find more on Data Acquisition Toolbox Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!