I created matlab libary which have functions to plot graphs in live time(In (while true)loop). The problem is that when I will call this function my whole gui is frezeed. Ca