It's difficult to provide specific inputs without seeing the code. However, one possible reason for the delay could be that the calculations are being performed continuously. You might consider implementing parallel processing to handle results concurrently. This approach can significantly reduce the execution time.
Additionally, utilize MATLAB's built-in Profiler to identify bottlenecks in your code : https://www.mathworks.com/help/matlab/ref/profile.html.