makeStruct

Creates a struct from the variables that are passed to the function.
101 descargas
Actualizado 13 dic 2015

Ver licencia

% 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.
%

Citar como

Matthew Kelly (2024). makeStruct (https://www.mathworks.com/matlabcentral/fileexchange/54490-makestruct), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2012a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Structures en Help Center y MATLAB Answers.
Agradecimientos

Inspiración para: Particle Swarm Optimization

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0