singleStruct(s)

Version 1.0.0.0 (267 Bytes) by Ben Oeveren
Concatenates structure with multiple dimension into a single dimension struct.
37 Downloads
Updated 14 Jan 2016

View License

This function converts a struct with multiple dimensions to a single dimension. For example struct s(1:n).field1 s(1:n).field2 etc will become s(1).field1 and s(1).field2.

Cite As

Ben Oeveren (2024). singleStruct(s) (https://www.mathworks.com/matlabcentral/fileexchange/54899-singlestruct-s), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Structures in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0