SCIRun User Mailing List

Text archives Help

Re: [SCIRUN-USERS] Export/Import FieldsToMatlab

Chronological Thread 
  • From: Jess Tate <>
  • To: Petar Petrov <>
  • Cc: "" <>
  • Subject: Re: [SCIRUN-USERS] Export/Import FieldsToMatlab
  • Date: Thu, 10 Dec 2015 15:35:59 -0700

Hi Petar,

ImportFieldsFromMatlab will work, but has a pretty strict structure
requirement, which is unfortunately not match by the Exporter. However,
there is a a matlab importer in the ReadField and an exporter in the
WriteField that are more stable and usable, so you can try those. Otherwise,
you can delete some of the extra fields in matlab, try with only node,
cell/face, and field fields in the structure.


> On Dec 10, 2015, at 6:03 AM, Petar Petrov <> wrote:
> Hello all,
> just wondering if this is well known behaviour or bug,
> but when I use ExportFieldsToMatlab module (I set one field and rename
> struct name to ROI)
> then try to import the same .mat file with the module ImportFieldsToMatlab
> e get the error: Matrix 'ROI' cannot be translated into a SCIRun field (one
> of the dimensions of fieldedge needs to be of size 3)
> Am I missing something or those two modules are ultimately broken, since
> the same exported file without any modifications cannot be imported back?
> Thanks for your time,
> Petar

Archive powered by MHonArc 2.6.18.

Top of page