MATLAB Answers

innerjoin invalid parameter name

3 views (last 30 days)
Wesso on 15 Feb 2019
Edited: Matt J on 15 Feb 2019
I want to match table A with table B (they have different size) and I want to produce table C that keeps only the common rows.
A has the following variables 'DateAnnounced','TargetName',AcquirorName' that I want to match with the following variables from B:''DateAnnouncedb','TargetNameb','AcquirorFullName' respectively.
So I wrote the following codes:
I received however the following error:
Error using tabular/innerjoin (line 94)
Invalid parameter name: DateAnnounced.
It is the first time I use innerjoin. Is my logic correct? if so why am I receiving the error?

Accepted Answer

Matt J
Matt J on 15 Feb 2019
Edited: Matt J on 15 Feb 2019
It appears that you are attempting to do the following:
C=innerjoin(A,B,'LeftKeys',Akeys, 'RightKeys',Bkeys);

More Answers (0)


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by