writeconstr
(Not recommended) Save optimization constraint description
Description
writeconstr
is not recommended. Use write
instead.
writeconstr(
saves a description
of the optimization constraint constr
)constr
in a file named
constr
.txt
. Here,
constr
is the workspace variable name of the
constraint. If writeconstr
cannot construct the file name from
the variable name, it writes the description to
WriteConstrOutput.txt
instead. writeconstr
overwrites any existing file.
Examples
Input Arguments
Tips
To obtain the
writeconstr
information at the MATLAB® Command Window, useshowconstr
.