$ matlab -nojvm < main.m
If you use this code, please cite the following article:
@article{RSousaAICOM2013,
author = {Ricardo Sousa and Jaime S. Cardoso},
title = {{The Data Replication Method for the Classification with Reject Option}},
journal = {AI Communications},
year = {2013},
volume = {26},
issue = {3},
pages = {281-302},
}