Back to the main page.

Bug 3289 - write mesh vista with anisotropy conductivity tensor on windows

Status NEW
Reported 2017-04-25 10:44:00 +0200
Modified 2017-04-25 10:48:04 +0200
Product: FieldTrip
Component: external
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P5 normal
Assigned to: Robert Oostenveld
URL:
Tags:
Depends on:
Blocks:
See also:

Marios Antonakakis - 2017-04-25 10:44:38 +0200

I am trying to write the created mesh with six tissues with its correspond anisotropy conductivity tensor but I got this error Access violation detected at Tue Apr 25 10:37:50 2017 and then it need to restart matlab This call works well: write_vista_mesh([path_simbio subject_id{subj} '.v'],mesh.pos,mesh.hex,mesh.tissue); This call does not work: write_vista_mesh([path_simbio subject_id{subj} '.v'],mesh.pos,mesh.hex,mesh.tissue,condtensor) in a windows machine. I attached the mesh https://www.dropbox.com/s/cefvu5iwye9ghsi/mesh.mat?dl=0 and the correspond conductivity tensor https://www.dropbox.com/s/y1gj11m0mxo7n04/conductivity_tensor.mat?dl=0


Robert Oostenveld - 2017-04-25 10:48:04 +0200

this is an error in an external mex file (contained within fieldtrip/external/simbio). I don't have the source code of that mex file, so cannot fix it. I have CCed the simbio developers on this bug, perhaps they can help.