[Gate-users] Mac File in Gate

Marc Chamberland mchamber at connect.carleton.ca
Wed Mar 7 18:10:51 CET 2012

Hi Bassim!

When asking for help on the user list, it's good practice to include as many details as possible. You said you have tried to "read" the mac file but that it did not work. What happened? Was there an error message on the screen? What was the message?

In this case it's probably not relevant, but including information about your configuration such as the version of Gate, your operating system, etc., is also useful.

And to answer your question, yes, you need to tell Gate where your macro file is. For example, if the macro file is currently in the directory from which you are calling Gate, you would type:

>Gate ./your_macro_file.mac

Don't forget to set your environment variables and the path for Gate, too. (My example assumes that Gate is in your path.)

I hope this helps!


Marc Chamberland, MSc
PhD candidate
Department of Physics
Carleton University
Ottawa (ON)

Le 2012-03-07 à 11:32 AM, Bassim Aklan a écrit :

> Hallo Gate users,
> Does somebody know how i can read the mac file in Gate. I have tried with "Gate mac file", but i did not work with me. Should i tell Gate where the mac file is located. How call of mac file works in Gate. I would be happy for your replay.
> Best regards,
> Bassim
> -- 
> Bassim Aklan, M.Sc.
> Institute of Medical Physics - Section for MR Imaging
> University of Erlangen-Nuremberg
> Henkestr. 91
> 91052 Erlangen, Germany
> phone: +49-(0)9131/85-25545
> bassim.aklan at imp.uni-erlangen.de
> Homepage: www.imp.uni-erlangen.de/mri
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

More information about the Gate-users mailing list