stdout in MATLAB using fprintf
조회 수: 13 (최근 30일)
이전 댓글 표시
Hi,
i have an application, that starts a matlab process with a batch command: matlab -r mymatlabscript;
After starting the matlab script, the application reads on the process dedicated InputStream for some data of the matlab script.
When writing something via fprintf(1,'data') on stdout in the MATLAB script, it will be displayed in the command window, but there's no data on the InputStream of the application. So now i'm asking myself, if there's a possibility to write in MATLAB under windows direct to stdout. The command window in MATLAB seems not to operate like the command line window generated by normal c, c++ or java applications or am i wrong?
Thanks, Konstantin
댓글 수: 0
답변 (1개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!