Pcodes Instructions

Download the pdf

SARPROZ installation with pcodes

  1.  For using the pcodes version, Matlab is required. If you do not have Matlab, you have to use the compiled version of Sarproz. Sarproz is compatible with most Matlab versions. However, Matlab 2012 or higher is suggested.
  2. In particular the following toolboxes are required:

    MATLAB [matlab] needed

    Parallel Computing Toolbox [distcomp] needed

    Image Processing Toolbox [images] needed

    Mapping Toolbox [map] needed

    Signal Processing Toolbox [signal] needed

    Statistics Toolbox [stats] needed

    Instrument Control Toolbox [instrument] needed for Manage Version

  3.  Create a directory where to put all the contents of the tar file containing the p-files.
  4. Eg. c:\pcodes\

  5. Extract the pcodes.tar file in your directory (Eg. c:\pcodes\)
  6.  Start Matlab from the pcodes directory.
  7. (to do this in Windows, right click on the Matlab icon, choose Properties, in the Shortcut Tab write the full path to the pcodes directory in “Start in:”)

  8.  Run the tool with the following command in the Matlab prompt:
  9. fig = main;

  10. At the first execution, Sarproz will set a couple of startup files. Afterward, restart Matlab from the pcodes directory (as described in point 4)
  11.  Use the Graphic User Interface, and read the manual / help files for reference

NOTE: the tool needs an internet connection for license purposes. In Windows, you may need to add Matlab among trusted programs to allow internet access.

NOTE for LINUX users: you may need to be a sudoer

(in case you need it, to become a sudoer login as root and use the command “visudo”. It will open a text file. Add in the text file the following line in the right place (browse the file to find it out): “username ALL=/sbin/vol_id, /sbin/blkid”)

For advanced uses, after selecting the data to process with SARPROZ, you can access the tool variables by typing “fast” in the Matlab command prompt.