Comparison

compareModels(modelA, modelB)[source]

compares modelA with modelB, looking for differences between the structures. Assumes any pair of NaN are identical.

INPUT modelA: structure modelB: structure

OUTPUT isSameModel: true if identical models, false otherwise

diffTable: table listing differences between fields in the input

structures, including dimensions when they differ

why: structure listing differences between models

Note: This function depends on structeq.m and celleq.m