- From: Jess Tate <jess@sci.utah.edu>
- To: Petar Petrov <pip010@gmail.com>
- Cc: "scirun-users@sci.utah.edu" <scirun-users@sci.utah.edu>
- 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.
cheers,
Jess
>
On Dec 10, 2015, at 6:03 AM, Petar Petrov <pip010@gmail.com> 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.