repositionStructFie​ld

Version 1.0.0.0 (1,34 KB) von Georg D
a bit more convenient way to reposition fields in a structure
343 Downloads
Aktualisiert 20. Jul 2011

Lizenz anzeigen

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 Linux
Kategorien
Mehr zu Structures finden Sie in Help Center und MATLAB Answers
Version Veröffentlicht Versionshinweise
1.0.0.0