필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

unix and system commands not wainting fro complete output.

조회 수: 1 (최근 30일)
Pedro Gusmao
Pedro Gusmao 2016년 2월 17일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi, I am running a grep command on big file using both system and unix functions (without '&') inside a script. I have noticed that the script sometimes does not wait for the command to finish returning the grep's output, which in turn gives me errors later on as the expected output is cropped. It is almost as if it were a timeout on this function and depending on my computers load it just ignores the rest of the output although it still gives me a status 0, which means that it ran correctly.
Has anyone else had the same problem? Is there a way (without using pause) to tell matlab to really wait for that output to complete? Thanks

답변 (0개)

이 질문은 마감되었습니다.

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by