Difference in outerjoin in R2015b and R2016a?
古いコメントを表示
I have been encountering a difference in the functionality of outerjoin between R2015b and R2016a:
In R2016a, the following code runs as expected:
Table1 = table({'a';'b';'c'},[1;2;3],'VariableNames',{'Key','Value'});
Table2 = Table1([false, false false],:);
joined = outerjoin(Table2,Table1,'Key','Key','MergeKeys',1);
Resulting in joined being a 3x3 table that's like Table1 but with a column full of NaN.
In R2015b, however, I get
Error using table/outerjoin (line 152)
With two inputs, the first argument must be a vector. Use three-input syntax for matrices.
My question is twofold:
- What changed between the two versions to account for the difference in behavior?
- What can I do to consistently avoid this error?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!