home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l460 / 3.ddi / DEMOS.DI$ / DEMO.M < prev    next >
Encoding:
Text File  |  1993-03-07  |  750 b   |  31 lines

  1. function demo
  2. %DEMO    Demonstrate some of MATLAB's capabilities.
  3. %    DEMO, by itself, presents a menu of demos.
  4.  
  5. %    Copyright (c) 1984-93 by The MathWorks, Inc.
  6.  
  7. labels = str2mat(...
  8.     'Introduction', ...
  9.     'MathWorks Specials', ...
  10.     'Data Analysis', ...
  11.     'Numerical Analysis', ...
  12.     'Mathematical Examples', ...
  13.     'Images and Color Maps', ...
  14.     'Sounds', ...
  15.     'Sparse Matrices', ...
  16.     'MATLAB Benchmark');
  17.  
  18. % Callbacks
  19. callbacks = [ ...
  20.     'intro          '
  21.     'specials       '
  22.     'datalist       '
  23.     'nalist         '
  24.     'mathlist       '
  25.     'imagedemo      '
  26.     'sounddemo      '
  27.     'sparlist       '
  28.     'bench          '];
  29.  
  30. choices('DEMO', 'MATLAB 4.0 Demonstrations', labels, callbacks);
  31.