repositionStructFie​ld

a bit more convenient way to reposition fields in a structure

Vous suivez désormais cette soumission

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

Citation pour cette source

Georg D (2026). repositionStructField (https://fr.mathworks.com/matlabcentral/fileexchange/32275-repositionstructfield), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0