title: convert cell to empty nested structure
body: <p>imagine you have a cell Array "test" with two dimensions "e" and "f" of different size. Is it possible to convert this with one dimension to a struct while the other one to the substruct? It works with a Loop, but i don't like Loops. Cause the struct is empty before i can't arrange in an Array with [...].</p>
  
  <pre><code>StrA.SubA.SubSubA=struct('SubSubSubA',[],'SubSubSubB',[]);
  count_e=4;
  count_f=2;
  for e=1:count_e
      for f=1:count_f
      StrA.SubA(e,1).SubSubA(f,1).SubSubSubA=test{e,f};
      end
  end
  </code></pre>
  
  <p>Thanks in advance</p>