MuPAD notebooks are not recommended. Use MATLAB live scripts instead.
MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.
Symbolic Math Toolbox™ provides functions for sharing symbolic variables and expressions between the MuPAD Notebook app and the MATLAB workspace, enabling you to merge the work you do in each environment.