MATLAB: How to get MuPad to display the equation without evaluating the expression in MATLAB 7.7 (R2008b)

displayevaluatemupadSymbolic Math Toolbox

I am writing a mathematical expression in MuPad and I want it to display without evaluating. For example, I want the following expression to display an integral sign with limits from 0 to 1, followed by sin(x) dx. Instead, MuPad displays the evaluated expression.
int(sin(x),x=0..1)

Best Answer

To supress MuPad from evaluating mathematical expressions, use the HOLD function as shown in the following example:
hold(int(sin(x),x=0..1))