repositionStructField
Versión 1.0.0.0 (1,34 KB) por
Georg D
a bit more convenient way to reposition fields in a structure
function [s] = repositionStructField(s,shiftfield,newpos)
%shiftfield can be fieldname (string) or current position index of field
%newpos can be either new position index of field, or the name of the field (as string) that is
%currently occupying the new position
Citar como
Georg D (2026). repositionStructField (https://es.mathworks.com/matlabcentral/fileexchange/32275-repositionstructfield), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2008b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Structures en Help Center y MATLAB Answers.
Etiquetas
Agradecimientos
Inspiración para: Beam information, threeD_grasp, Truss displacement based on FEM
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0.0 |
