Question: Getvar() to get a structure from Matlab

September 10 2012 kail85 25
Maple 16

In matlab, a function is returned a structure H, say H.a, H.b, ...

In maple, I want to call this matlab function, but what returned to maple is a Record:


Hs:= getvar("H");

Hs:= Record(a=..., b=..., ...);


So how can I convert this record to a normal maple array? so I can access to each element by Hs[1]. 


Thank you


Please Wait...