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