You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
% StructOutput = makeStruct(varargin)
%
% A struct is created with the property that each field corresponds to one
% of the arguments passed to this function.
%
% Example:
%
% R = makeStruct(a,b,c,d,e);
%
% R.a == a;
% R.b == b;
% R.c == c;
% R.d == d;
% R.e == e;
%
% Notes:
%
% An arbitrary number of inputs are allowed, but their names should be
% unique.
%
Cite As
Matthew Kelly (2026). makeStruct (https://www.mathworks.com/matlabcentral/fileexchange/54490-makestruct), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Particle Swarm Optimization
General Information
- Version 1.0.0.0 (560 Bytes)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
