STBlicense - displays the SaliencyToolbox license agreement.
0001 % STBlicense - displays the SaliencyToolbox license agreement. 0002 0003 % This file is part of the SaliencyToolbox - Copyright (C) 2006-2008 0004 % by Dirk B. Walther and the California Institute of Technology. 0005 % See the enclosed LICENSE.TXT document for the license agreement. 0006 % More information about this project is available at: 0007 % http://www.saliencytoolbox.net 0008 0009 function STBlicense 0010 me = mfilename; 0011 myPath = which(me); 0012 myPath = myPath(1:end-(length(me)+2)); 0013 licenseFile = [myPath '../LICENSE.TXT']; 0014 more on; 0015 try 0016 type(licenseFile); 0017 catch 0018 % do nothing 0019 end 0020 more off;