Guest User

Untitled

a guest
Nov 23rd, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. a=struct;
  2. a.b='2';
  3. a.c='3';
  4. a.bb='2.5';
  5. a %displays the struct fields and sequence
  6.  
  7. s = struct('b',2,'c',3,'a',1):
  8. snew = orderfields(s);
Add Comment
Please, Sign In to add comment