Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: Merging manual 2D drawing with 2D Graphics promitives
  • Next by Date: Re: How to make the same two expressions
  • Previous by thread: Re: Merging manual 2D drawing with 2D Graphics promitives
  • Next by thread: Show results live