writeexpr
(Not recommended) Save optimization expression description
Description
writeexpr
is not recommended. Use write
instead.
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.
Examples
Input Arguments
Tips
To obtain the
writeexpr
information at the MATLAB® Command Window, useshowexpr
.