A simple matlab variable can not be a 3-D matrix:
a = [2 3 5 6
3 2 1 0];
is the best it can do, but it is still a 2-D matix.
What I would do:
a=[1 2
3 4];
b=[5 6
7 8];
vv.a=a; vv.b=b;
RESULT:
vv =
a: [2x2 double]
b: [2x2 double]
(<1X1> STRUCTARAL ARRAY) - check in the Workspace Window
Anybody with less-clumsy suggestions?