fieldremove(s, n)

Removes the member by the name n from structure s.


See also fieldnames fieldset fieldvalues 


Example


s.name = "Joe"

"Joe"

s.age = 42

42

s.month = 11

11

s

name : "Joe"

age : 42

month : 11

a = fieldremove(s, "month")

11

s

name : "Joe"

age : 42