File: cs_demo.m

package info (click to toggle)
ufsparse 1.2-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 27,536 kB
  • ctags: 5,848
  • sloc: ansic: 89,328; makefile: 4,721; fortran: 1,991; csh: 207; sed: 162; awk: 33; java: 30; sh: 8
file content (13 lines) | stat: -rw-r--r-- 409 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
function cs_demo
%CS_DEMO: run all CSparse demos.
%   Your current working directory must be CSparse/MATLAB/Demo to run this demo.

help cs_demo
demos = {'cs_demo1', 'cs_demo2', 'cs_demo3', 'ex1', 'ex2', 'ex3' } ;

for i = 1:length(demos)
    fprintf ('\n\n-------------------------------------------------------\n') ;
    help (demos {i}) ;
    input ('Hit enter to continue: ') ;
    eval (demos {i}) ;
end