Unable to Use MATLAB from Guide for Dobot Magician


Hello, I cannot connect MATLAB and Dobot Magician. I followed the instruction according to the PDF guide and encountered a problem. It just keeps running like that in MATLAB but the Dobot did not move at all. The file that I run is the loadDLL.m. Do I need to input several parameters in this script?? And also it seems that the algorithm stuck at the code that I highlight.