Bug: Import of .MAT file gives Partition error on structs with empty elements.
- To: mathgroup at smc.vnet.net
- Subject: [mg119592] Bug: Import of .MAT file gives Partition error on structs with empty elements.
- From: BernieTheJet <berniethejet at gmail.com>
- Date: Sat, 11 Jun 2011 03:59:57 -0400 (EDT)
Using mathematica to Import a .MAT file of a 'structure' does, in fact, succeed, when one of the variables in the structure is empty, however in doing so it gives a Partition error. So, suppose the MAT file contains a struct like: temp.a = [1 2 3] temp.b = 'alabama' temp.c = [] then upon Import to mathematica there will be an error for the temp.c portion. But, nevertheless, all other variables will be read in. Bernard