how to join matlab datasets with different variable names?

Dear all,
I would like to join matlab datasets to a single dataset in matlab. The individual datasets have different variables. I tried using the join function however it says Undefined function 'join' for input arguments of type 'double'. The matlab files are datasets containing observation ( numeric values) and variable names.
atajoined = join(time,v100,v40,d40,d90,'Type','rightourer','MergeKeys',true)
Undefined function 'join' for input arguments of type 'double'.

 Accepted Answer

Your variable "time" is not the result of a dataset() call. (Example of join() in documentation)

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!