如果有一个包含未知字段数量的函数结构体,我该如何获取每个字段的名称? 例如: s = struct; s.hello = 'world'; s.foo = 12; s.bar = [ 1 2 3 ]; 我想获取s(1), s(2)和s(3)的名称。在这种情况下,我将获得'hello','foo'和'bar'。