Feeds
답변 있음
dynamic naming of structures
Actually, found my own answer: x = 'name'; eval(sprintf('%s = struct;',x)); This creates a structure named 'name' and one can...
dynamic naming of structures
Actually, found my own answer: x = 'name'; eval(sprintf('%s = struct;',x)); This creates a structure named 'name' and one can...
대략 4년 전 | 0
| 수락됨
답변 있음
dynamic naming of structures
Not really. I know about the paranthesis around field names, but it creates another level of structure. The problem is that if...
dynamic naming of structures
Not really. I know about the paranthesis around field names, but it creates another level of structure. The problem is that if...
대략 4년 전 | 0
질문
dynamic naming of structures
If I have a variable x='name', how can I use x to build a structure with name 'name' that looks like: name.a name.b No need t...
대략 4년 전 | 답변 수: 3 | 0