Why does externally called .exe using the 'system' command freeze on the third call?
显示 更早的评论
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.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Data Acquisition Toolbox Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!