Main Content


(Not recommended) Close MuPAD engine

reset(symengine) is not recommended. Call clear all instead. For more information, see Compatibility Considerations.


reset(symengine) closes the MuPAD® engine associated with the MATLAB® workspace, and resets all its assumptions. Immediately before or after executing reset(symengine) you should clear all symbolic objects in the MATLAB workspace.

Version History

Introduced in R2008b

collapse all

R2018b: reset(symengine) is not recommended

To update your code, replace any instance of reset(symengine) with clear all. The clear all call closes the MuPAD engine associated with the MATLAB Workspace, resets all associated assumptions, and removes all variables, including symbolic objects, from the MATLAB Workspace.

Although the use of reset is not recommended, there are no plans to remove it at this time.