1function params = SJget_defaults 2%SJGET_DEFAULTS returns default parameter settings for SJget. 3% Usage: params = SJget_defaults ; Returns the default parameter settings for 4% SJget. This file may be editted to change these settings: 5% 6% params.url: SJSU Singular matrix web site 7% params.dir: your local directory for downloaded singular matrices. 8% params.refresh: how many days should elapse before re-downloading the 9% index file (for obtaining access to new matrices in the collection). 10% 11% Example: 12% params = SJget_defaults ; 13% 14% See also SJget. 15 16% Derived from the ssget toolbox on March 18, 2008. 17% Copyright 2007, Tim Davis, University of Florida. 18 19 20%------------------------------------------------------------------------------- 21% define base information about the SJSU Singular matrix collection 22params.site_name = 'SJSU Singular Matrix Database'; 23params.site_url = 'http://www.math.sjsu.edu/singular/matrices'; 24params.maintainer = 'Leslie Foster'; 25params.maintainer_url = 'http://www.math.sjsu.edu/~foster/'; 26 27%------------------------------------------------------------------------------- 28% location of the SJSU Singular matrix collection 29params.url = [ params.site_url '/mat' ] ; 30 31%------------------------------------------------------------------------------- 32% decode the current directory for this M-file 33s = which (mfilename) ; 34i = find (s == filesep) ; 35s = s (1:i(end)) ; 36 37%------------------------------------------------------------------------------- 38% define the directory to download into. Should end in file separator. 39params.dir = [ s 'mat' filesep ] ; 40 41%------------------------------------------------------------------------------- 42% define how often to check for a new index file (in # of days) 43% inf will force the program to ignore the need to refresh 44params.refresh = 90 ; 45