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!