Mouse over text to see original. Click the button below to return to the English verison of the page.
Translate This Page
MathWorks Machine Translation
The automated translation of this page is provided by a general purpose third party translator tool.
MathWorks does not warrant, and disclaims all liability for, the accuracy, suitability, or fitness for purpose of the translation.
Compare two MPC objects
yesno = compare(MPC1,MPC2)
The compare function compares the contents of two MPC objects MPC1, MPC2.
If the design specifications (models, weights, horizons, etc.) are
identical, then yesno is equal to 1.
Notecompare may return yesno = 1 even
if the two objects are not identical. For instance, MPC1 may
have been initialized while MPC2 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.