Main Content
commensurate
Description
checks whether the c
= commensurate(unitlist
)simscape.Unit
objects in the list have commensurate
units. The list can contain two or more simscape.Unit
objects, all of the
same size. For scalar simscape.Unit
objects, the function returns
1
if all units are commensurate, 0
otherwise. For
unit arrays, the function compares them element by element and returns a logical array of
the same size as the input arrays, with 1
for elements where all the
units are commensurate, and 0
otherwise.
Examples
Input Arguments
Version History
Introduced in R2021b