repositionStructField
Version 1.0.0.0 (1,34 KB) von
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
Zitieren als
Georg D (2026). repositionStructField (https://de.mathworks.com/matlabcentral/fileexchange/32275-repositionstructfield), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2008b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Structures finden Sie in Help Center und MATLAB Answers
Tags
Quellenangaben
Inspiriert: Beam information, threeD_grasp, Truss displacement based on FEM
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0.0 |
