Flag = iscompatible(M1,M2)
M1
, M2
[ model ] - Two model objects that will be tested for compatibility.Flag
[ true
| false
] - True if M1
and M1
can occur in an assignment, M1(...) = M2(...)
or horziontal concatenation, [M1,M2]
.The function compares the names of all variables, shocks, and parameters, and the composition of the state-space vectors.