Matlab:GUI control is much more convenient to use than C++, but it takes time without foundation.
If the GUI library based on C/C++ is useful, it is suggested to use C++. At worst, you can do it directly with the ege library, which is very simple, similar to a GUI library for drawing, and the animation effect can be done with delay ().