home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / m / matlab / !Matlab / !Help < prev    next >
Text File  |  1994-03-23  |  3KB  |  74 lines

  1.  
  2.   !Matlab gives some of the facilities of the Desktop to the
  3.   Archimedes version of an early form of MATLAB (1982 - now
  4.   public domain) with a limited scope.  It can be installed by
  5.   double-clicking on its icon; then dragging a MATLAB script
  6.   file of type 'MatlabSc' (&111) or type 'Text' (&FFF) onto
  7.   the icon-bar icon loads and runs MATLAB, and runs that
  8.   script from an internal instruction EXEC('file',k) with the
  9.   value of the parameter k set from the menu.  The default
  10.   value of k is 7, for pause mode, which gives successive
  11.   outputs by pressing <Return> (see MATLAB's HELP EXEC for
  12.   full information about k).  When the script file is of type
  13.   'Text', holding down an Alt key while dragging also changes
  14.   its type to 'MatlabSc'.
  15.  
  16.   Alternatively, once !Matlab has been 'seen' by the operating
  17.   system, double-clicking on the icon of a MATLAB script file
  18.   of type 'Matlab' installs !Matlab, loads and runs MATLAB,
  19.   and runs the script in that file with the value of the
  20.   parameter k = 7.
  21.  
  22.   Clicking SELECT on MATLAB's icon-bar icon runs MATLAB to
  23.   allow instructions to be entered from the keyboard.
  24.  
  25.   With RISC OS 2, the output is displayed directly on the
  26.   screen; with RISC OS 3, the output is displayed in a task
  27.   window.
  28.  
  29.   To leave MATLAB and return to the Desktop, follow the prompt
  30.   <> by typing the command EXIT <Return> or pressing F1.
  31.  
  32.   The menu has three items:
  33.  
  34.   Info:   for Information box
  35.  
  36.   Exec k: sub-menu allows the parameter k in EXEC('file',k) to
  37.           be set for Matlab script files which are to be dragged
  38.           to the icon-bar icon or (if of type 'Matlab') to be
  39.           double-clicked to run.
  40.  
  41.   Quit:   closes the application and removes its icon from the
  42.           icon-bar.
  43.  
  44.   The 'file' parameter used in the EXEC, SAVE, LOAD, PRINT and
  45.   DIARY functions must be a simple filename (a string of up to
  46.   10 characters). Thus a file can only be EXECed or LOADed
  47.   from the current directory, and output is saved in the
  48.   current directory with its file name always converted to
  49.   lower case.  Running a script file by dragging its icon onto
  50.   the !Matlab icon-bar icon or double-clicking on its icon
  51.   sets the current directory to the directory that contains
  52.   the file.
  53.  
  54.   A MATLAB script can use EXEC to call MATLAB script files in
  55.   the same directory that contain user-defined functions which
  56.   use data from the calling program.  To try to run such
  57.   scripts directly by dragging or double-clicking will usually
  58.   lead to error; in fact, EXEC will call files of any type,
  59.   but for convenience, the type 'MatlabFn' (&112) has been
  60.   provided for files of this kind.
  61.  
  62.   !Matlab runs MATLAB as a secondary task and needs more than
  63.   2 Mbytes of RAM memory when MATLAB is running (but only 32
  64.   Kbytes otherwise). Since it requires access to all the files
  65.   in its directory except the text files !Help, LINUX_READ and
  66.   ReadMe for its operation, it may be helpful to use it from a
  67.   copy held in RAM disk (min 160K), which gives fastest access
  68.   to MATLAB.  With RISC OS 3, !Edit must be active.
  69.  
  70.   The file HLP in the !Matlab directory is MATLAB's help file,
  71.   which describes all the functions and operators in this
  72.   version of MATLAB, and the files LINUX_READ and ReadMe give
  73.   a brief account of how it was ported to Archimedes.
  74.