Remove a field from a structure

Version 1.0.0.0 (406 Bytes) by Gane Wong
Much faster version of rmfield()
1.7K Downloads
Updated 19 Nov 2001

No License

As currently implemented, removing a field from a structure using rmfield() is inexplicably slow. This simple replacement is about 1000 times faster.

Editor's Note: This performance issue will be addressed in MATLAB R13.

Cite As

Gane Wong (2024). Remove a field from a structure (https://www.mathworks.com/matlabcentral/fileexchange/1064-remove-a-field-from-a-structure), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R11.1
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