In Matlab, you can reshape the Snapshot0 quantity in the following way.
For cell-centered data with 3 components (e.g. Electric field E(x,y,z)):
E = reshape(Snapshot0, [length(Axis0)-1, length(Axis1)-1, length(Axis2)-1, 3)
which you can then use as:
E[i,j,k,c]
where c is an index to the field component and i,j,k are indices to the discretization of space.
For point data with 1 component (e.g. Vector potential V(x,y,z)):
V = reshape(Snapshot0, [length(Axis0), length(Axis1), length(Axis2))
which you can then use as:
V[i,j,k]
where i,j,k are indices to the discretization of space.