Save optimization expression description
writeexpr(expr)
writeexpr(expr,filename)
writeexpr(
saves a description of
the optimization expression expr
)expr
in a file named
expr
.txt
. Here,
expr
is the workspace variable name of the
expression. If writeexpr
cannot construct the file name from the
expression, it writes the description to WriteExprOutput.txt
instead. writeexpr
overwrites any existing file.
To obtain the writeexpr
information at the MATLAB® Command Window, use showexpr
.