You must be logged in to post Login Register


Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Diffusion Toolkit command line

UserPost

9:58 am
February 2, 2012


seanfw

Member

posts 10

Hi Ruopeng,

Thanks for the latest versions of DTK and TrackVis. There is one issue that I would like to bring up. Diffusion Toolkit commands  such as dti_tracker and spline_filter don't seem to work unless the Diffusion Toolkit GUI is open. I have had this issue arrive on 3 different computers (2 windows pcs with DTK run on a virtual linux machine and my current Mac OS 10.7). I have dealt with this so far by manually opening DTK and then running my scripts.

I am writing a new script in Matlab and am encountering a strange problem:

When I tell matlab to open Diffusion Toolkit (using the !Diffusion_Toolkit command – which is correct as I replaced the original space in the name with an underscore) I get the following error message:

 

dyld: Library not loaded: @executable_path/../Frameworks/QtGui.framework/Versions/4/QtGui
  Referenced from: /path_to_diffusion_toolkit/Diffusion_Toolkit.app/Contents/MacOS/Diffusion_Toolkit
  Reason: Incompatible library version: Diffusion_Toolkit requires version 4.7.0 or later, but QtGui provides version 4.5.0
Diffusion_Toolkit: Trace/breakpoint trap

 

I renamed "Diffusion Toolkit" to "Diffusion_Toolkit" to make it a bit more scripting friendly, but I can't see how that could be the problem. The thing is Diffusion Toolkit GUI opens fine using the command line from the terminal (command Diffusion_Toolkit). It must be something to do with matlab.

So I guess I can summarise in a couple of questions.

1) Why does the Diffusion Toolkit GUI need to be open to run commands like dti_tracker, and can this be changed?

2) How can I open Diffusion Toolkit GUI on Matlab (Student Version 7.12.0 (R2011a)), should the first part be a bit more tricky?

Many thanks in advance, and for all the previous assistance,

 

Sean

 

 

 

 

12:48 pm
February 14, 2012


Ruopeng

Admin

posts 406

Hi Sean,

When you say dti_track doesn't work without starting up DTK first, what do you mean? It doesn't run at all or it crashes?

Ruopeng