home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / softsys / matlab / 196 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.8 KB

  1. Path: sparky!uunet!ulowell!m2c!nic.umass.edu!noc.near.net!MathWorks.Com!nuntius
  2. From: little@mathworks.com (John Little)
  3. Newsgroups: comp.soft-sys.matlab
  4. Subject: Re: any information on system_dependent ?
  5. Message-ID: <C1HIHC.6nI@MathWorks.COM>
  6. Date: 26 Jan 93 23:27:11 GMT
  7. References: <1993Jan22.215338.14188@MathWorks.COM>
  8. Sender: news@MathWorks.COM (Usenet News Account)
  9. Organization: The MathWorks, Inc.
  10. Lines: 44
  11. X-Useragent: Nuntius v1.1
  12.  
  13. In article <1jmg9cINNi26@news.cs.tu-berlin.de> Andreas Helmcke,
  14. ah@cs.tu-berlin.de writes:
  15. >Hello,
  16. >
  17. >has anybody any information about the matlab funktion 'system_dependent'?
  18. >As far as i figured out, you can switch the history on/off using 
  19. >system_dependent(2).
  20. >I think, system_dependent can do some more usefull work and I would like
  21. >to know about it.
  22. >
  23. >Greetings Andreas
  24.  
  25.  
  26. system_dependent is an unpublished function that we use for a variety
  27. of crufty things.  It will most certainly change from time to time and
  28. possible even go away completely.
  29.  
  30. For anybody curious about it, here is what it does in MATLAB 4.0 on
  31. SPARCstations:
  32.  
  33. system_dependent(1) deals with the MATLAB-ACSL interface.  ACSL is
  34. a simulation language that MATLAB can talk to.  See ACSL.M for more
  35. information.
  36.  
  37. system_dependent(2,0) turns off command-line editing.
  38. system_dependent(2,1) turns it back on.
  39.  
  40. system_dependent(3) is unused.
  41.  
  42. system_dependent(4,i,j) is used to program the command-line editing
  43.                         keys.  See CEDIT.M for more information.
  44.  
  45. system_dependent(5) enables core dumps in the event of seg faults.
  46. Normally MATLAB tries to catch seg faults and "continue".  Our tech
  47. support people sometimes ask users to throw this flag in order
  48. to generate a core file that our engineers can use to investigate
  49. problems.
  50.  
  51. system_dependent does different things in MATLAB 3.5 and other
  52. platforms.
  53.  
  54. Good luck!
  55.  
  56. John Little
  57.