MATLAB Answers

if is possible to cancel a process if matlab take too much time to perfom the process?

I have a for loop to analyse data,
for i=:length(data)
task(data(i));
end
but for example, if data has a length of 10,000 sometimes it got stuck at i=100 for more than one day. I cannot modify the function "task" therefore, I would like to know if there is a tool that stops the process of task at moment i=100 after a certain amount of time (let's say 90 min) so it can continues at i=101
Thanks
Cheers!

  댓글 수: 0

로그인 to comment.

태그

답변 수: 2


Swarooph 님의 답변 19 May 2017
Swarooph 님이 편집함. 19 May 2017

  댓글 수: 0

로그인 to comment.



Translated by