Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Inner join between two tables or two timetables

creates
the table or timetable, `C`

= innerjoin(`A,B`

)`C`

, as the inner join between `A`

and `B`

by
matching up rows using all the variables with the same name as key variables. `A`

and `B`

are
both tables or both timetables. You cannot perform an inner join between
a timetable and a table.

The inner join retains only the rows that match between `A`

and `B`

with
respect to the key variables. `C`

contains all nonkey
variables from `A`

and `B`

.

If `A`

and `B`

are timetables,
then the key variables are the vectors of row times of `A`

and `B`

.

performs
the inner-join operation with additional options specified by one
or more `C`

= innerjoin(`A,B`

,`Name,Value`

)`Name,Value`

pair arguments.

For example, you can specify the variables to use as key variables.

Was this topic helpful?