A bit more convenient way to reposition fields in a structure in matlab

The following Matlab project contains the source code and Matlab examples used for 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

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
license.txt 1307
repositionStructField.m 1091

SocialTags: