This is a sample entry to the PhysioNet/CinC 2104 challenge that uses GNU Octave, version 3.6.4 and the WFDB Toolbox version 0.9.6.1 or later. Your entry should modify only the "challenge.m" file and add any necessary m-files to the current directory. An Octave script, generateValidationSet.m, is provided to help generate annotations for all the records from the traning set for validation purposes by the PhysioNet testing framework. A sample submission, entry.zip, is included as an example of how you zip file should be structured (note the directory tree structure). 

The WFDB Toolbox for Octave gets automatically installed in the test framework on the PhysioNet servers through the "setup.sh" script. If you would like to use another version of the toolbox, please replace the file wfdb-app-toolbox-*.zip by any verion equal to or higher than 0.9.6.1.  

Written by Ikaro Silva 2014
Last modified: July 25, 2014

For questions or support, please contact: challenge@physionet.org

For latest updates to this sample entry, please check the challenge website at:
http://physionet.org/challenge/2014/

-----Octave Requirements:
       -Octave 3.6.4 or higher
       -Java package 1.2.9 or higher
       -WFDB Toolbox 0.9.6.1 or higher 

----Installing Java package (in Linux Debian systems).

To install the required Octave Java package, run the commands:

apt-get install liboctave-dev
octave --eval  "setenv(\"JAVA_HOME\",\"/usr/lib/jvm/java-7-openjdk-amd64\");pkg
install -forge java;quit;"

On other systems, please see details Octave's web page. 

------Installing WFDB Toolbox for Octave in your System

To install the WFDB Toolbox for Octave please follow the "Quick Start" instructions at:

http://physionet.org/physiotools/matlab/wfdb-app-matlab/  

If the toolbox version is different from the one in your current directory (ie, higher than 0.9.6), you should be able replace the zip file in the current directory with the one downloaded from the link above. 

-----Packaging and submitting your entry

To package your entry for submission you  can run the following command on a Linux/Mac system from this current directory (assuming you have the comman zip already installed):

   zip -r entry.zip . -x ./*.dat -x ./c*.hea

On Windows system, please zip your file with this directory as the top directory (ie, when you entry is unzipped, you shoud *not* have a "entry" as your top directory see the entry.zip files in this submission). 

Note that zipped WFDB Toolbox file in this direcotry (wfdb-app-toolbox-*.zip) gets automatically installed in the test framework on the PhysioNet servers through the "setup.sh" script. If you would like to use another version of the toolbox, please replace this zip file (wfdb-app-toolbox-*.zip) by any version equal to or higher than 0.9.6.1.



