System and System.Diagnostics.Process
이전 댓글 표시
I have a program that runs in the console window on windows 10. The program puts out a continuos stream of data and i need to take the data and save it as a numeric matrix in MatLab. I could easily do this with the system() function however, I need to use the data in real time as the program in the console is still running and feeding me new data. So if you just simply use the system() funtion then matlab will never move past that line becasue the program never stops running in the command window. I have read about System.Diagnostics.Process() but I am not sure how to use it and matlab does not have documentation on what the methods actually do. Any help would be greatly apreciated.
댓글 수: 1
Rahul J Hirur
2022년 6월 3일
이동: Walter Roberson
2025년 1월 6일
Hello Walter,
@Walter Mabry , Were you able to print ouptput in the console/windows command prompt ?
If you were sucessful, Can you share the snippet of teh script ?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!