System and System.Diagnostics.Process
Mostrar comentarios más antiguos
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 comentario
Rahul J Hirur
el 3 de Jun. de 2022
Movida: Walter Roberson
el 6 de En. de 2025
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 ?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!