compare
Compare two MPC objects
Description
compares the contents of the two MPC objects yesno = compare(mpcobj1,mpcobj2)mpcobj1 and,
mpcobj2 given as input arguments. If the design specifications
(models, weights, horizons, etc.) are identical, then the returned value
yesno is equal to 1.
Note
compare may return yesno = 1 even if the two
objects are not identical. For instance, mpcobj1 may have been
initialized while mpcobj2 may have not, so that they may have
different sizes in memory. In any case, if yesno = 1, the behavior of
the two controllers will be identical.
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a