CATSTRUCT

Concatenate/merge structures (v4.1, feb 2015).

Download
Download

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Cite As

Jos (10584) (2026). CATSTRUCT (https://au.mathworks.com/matlabcentral/fileexchange/7842-catstruct), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Lynx MATLAB Toolbox

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.3.0

changed number of input arguments check to accommodate future releases. Probably this function will no longer work anymore in older releases :-(

Download
1.2.0

Due to changes implemented by The Mathworks in their set functions, I had to explicitly tell unique to return the last occurrence of a value in a set ...

Download
1.1.0

now deals correctly with arrays of structures (thanks to Tor Inge Birkenes for pointing out this problem)

Download
1.0.0

fixed bug for empty structs

Download