<div dir="ltr">Hello Gregor,<br><div><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Anyhow, the field names are accessible by<br>
<br>
y = scipy.io.loadmat("x.mat")<br>
y['CanData'][0, 0]['msg'].dtype.names<br>
<br>
('RPDO2',)<br></blockquote><div><br></div><div>Oh. I missed both the above and the below. :(<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
or<br>
<br>
y = scipy.io.loadmat("x.mat", squeeze_me=True)<br>
y['CanData']['msg'].item().<wbr>dtype.names<br>
<br></blockquote><div><br></div><div>These are the access methods I was looking for all the time. I guess before I ask why .item() has to be used I guess I'll go rtfm some more :( <br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I would not consider this as a bug, more a documentation issue, which is resolved by this discussion. You might add a comment on stack overflow with your findings.<br>
<br>
Gregor<br></blockquote><div><br></div><div>Yes, I will.<br></div><div>Thank you!<br></div><div> Nenad</div><br></div><br></div></div></div>