Question: why matlab is so slow?
Answer: If MATLAB is slow every time you enter a command to run during a session, then it could be that MATLAB is having trouble finding your license, or is otherwise slow during your license check. Try out "Solution 1" in the answer here.