repositionStructFie​ld

Version 1.0.0.0 (1,34 KB) von Georg D
a bit more convenient way to reposition fields in a structure
342 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 (2024). repositionStructField (https://www.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

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0