function gen_info(action)
% GEN_INFO General information file 

%   Yama Habibzai
%   Copyright (c) 1984-98 by The MathWorks, Inc. All Rights Reserved
%   $Revision: 1.12.1.2 $
%   $Date: 1999/01/15 22:23:23 $ 


switch action

case 'domestic',

str= ... 
    {'Mailing Address:                                           '
     '                                                           '
     '     The MathWorks, Inc.                                   '
     '     24 Prime Park Way                                     '
     '     Natick, Massachusetts 01760                           '
     '     Phone: (508) 647-7000                                 '
     '     Fax:   (508) 647-7001                                 ' 
     '                                                           '
     'To speak with your MathWorks representative, please call:  '
     '(508) 647-7000                                             '
     '                                                           '
     ' The MathWorks is pleased to provide convenient            '  
     ' access from the Internet by electronic mail. Use any      '  
     ' of the following addresses, as appropriate, to reach us.  '  
     '                                                           '  
     ' Suggestions or comments.                                  '  
     '         suggest@mathworks.com                             '  
     '                                                           '  
     ' Sales, pricing, and general information.                  '  
     '         info@mathworks.com                                '  
     '                                                           '
     ' Technical support.                                        '  
     '         support@mathworks.com                             '  
     '                                                           '  
     ' Subscribing user registration.                            '  
     '         subscribe@mathworks.com                           '  
     '                                                           '  
     ' Order status, license renewals, passcodes.                '  
     '         service@mathworks.com                             '  
     '                                                           '
     ' Training and Short Courses.                               '  
     '         courses@mathworks.com                             '  
     '                                                           '};
ttlStr='Contact information for The MathWorks';
helpwin(str, ttlStr);

case 'email',

ttl ='Contacting Technical Support by E-Mail';
str = ...                                                          
    {'                                                      '  
  ' To contact The MathWorks Technical Support, please use  '  
  ' the following email address. You will then get a        '  
  ' response back from a technical support engineer within  '
  ' 2 business days.'
  '                                                         '  
  ' Technical support Email Address:                        '  
  '         support@mathworks.com                           '  
  '                                                         '};  

helpwin(str, ttl);

case 'tn',

ttl='Technical Notes';
Str= ...                                                          
    {'                                                        '
     'The Mathworks Technical Support provides a variety of   '
     'Technical Notes and papers that users can have to make  '
     'the learning curve of MATLAB and related Toolboxes '
     'as easy as possible.                                    '
     '                                                        '
     'These Technical Notes are available on The Mathworks    '
     'Web page and ftp site.                                  '
     '                                                        '
     'Technical Notes on the Web:                             '
     '      http://www.mathworks.com/support/tech-notes/      '
     '                                                        '
     'Technical Notes on ftp:                                 '
     '      ftp.mathworks.com/pub/tech-support/tech-notes/    '
     '                                                        '
     'Technical FAQ (Frequently Asked Questions) on the Web:  '
     '      http://www.mathworks.com/support/faq/             '};  

helpwin(Str, ttl);

case 'phfx',


ttl='Contacting Technical Support';
str= {'Technical support is available for phone support from   '
     '8:30AM - 5:30PM EST. However, you can send us an email,  '
     'or fax and we will respond to your question within 1     '
     'business day.                                            '
     '                                                         ' 
     ' Technical Support phone:                                '  
     '         (508) 647-7200                                  '
     '                                                         '
     ' Technical Support fax:                                  '
     '         (508) 647-7201                                  ' 
     '                                                         '};  

helpwin(str, ttl);

case 'over',

ttl = 'Overview';
str = {'The MathWorks provides a variety of Technical Support'
'services which are available to you 24 hours a day, 365 days a'
'year. '
'                                                         '
'Our philosophy is to provide you as much information as  '
'possible, and ensure that you can get the information    '
'you need when you need it.                               '
'                                                         '
'The easiest, quickest and most convenient way to find    '
'solutions to technical issues is to consult the following'
'resources:                                               '
'                                                         '
'Technical Support Problem & Solution Database            '
'  http://www.mathworks.com/support/solutions/            '
'                                                         '
'Technical Notes (including Troubleshooting Guide)        '
'  http://www.mathworks.com/support/tech-notes/           '
'  ftp://ftp.mathworks.com/pub/tech-support/tech-notes/   '
'                                                         '
'FAQ (Frequently Asked Questions)                         '
'  http://www.mathworks.com/support/faq/                  '
'                                                         '
'User-contributed files                                   '
'  http://www.mathworks.com/ftpindex.html             '
'  ftp://ftp.mathworks.com/pub/contrib/               '};


helpwin(str, ttl);

case 'ftpfiles'

ttl='Software updates via FTP';
Str= {' As part of on going product development at The MathWorks, '
' we regularly introduce new versions of our products. The '
' MathWorks makes the latest versions of all its Unix-based'
' products available for electronic distribution over the  '
' Internet. '
' '
' If you are a registered user and have a direct '
' connection to the Internet, you may use FTP to download  '
' the latest releases. These releases provide new features '
' and enhancements as well as bug fixes. The Internet      '
' service allows you to obtain your updates quickly and at '
' your convenience. It also allows you to immediately      '
' download any aditional products that you license from    '
' The MathWorks.                                           '};
 
helpwin(Str, ttl);

case 'mexcode',

ttl = 'Writing MEX-files and Engine routines';

str = {'Although MATLAB is a complete, self-contained'
'environment for programming and working with data, it'
'is often very useful to interact with data and programs'
'external to MATLAB'
' ' 
'MEX-files:'
'MATLAB provides an application programming interface that'
'allows  you to call C and Fortran subroutines from within'
'MATLAB. Such subroutines are called MEX-files. MEX-files'
'are dynamically linked subroutines that behave just like'
'any built-in MATLAB function. That is, you can call them'
'from the MATLAB command line, or from within M-files.'
' '
'MEX-files have several applications:'
' '
'     -Large pre-existing Fortran and C programs can be'
'      called from MATLAB without having to be rewritten'
'      as M-files.'
' '
'     -Bottleneck computations can be recoded in C or Fortran.'
' '
'     -A/D cards, D/A cards, and other hardware can be'
'      accessed directly for data acquisition and control'
'      applications.'
' ' 
'ENGINE routines:'
'MATLAB also provides a library of routines that allows you'
'to call MATLAB from your own programs, thereby employing'
'MATLAB as a compuation engine. Some of the things you can'
'do with the MATLAB engine are:'
' '
'     -Call a math routine to invert a Matrix or to compute'
'      an FFT from your own program. When employed in this'
'      manner, MATLAB is a powerful and programmable'
'      mathematical subroutine library.'
' '
'     -Call a graphics routine to plot some data or to draw'
'      a 3-D color surface from your program. Used this way,'
'      MATLAB is a sophisticated graphics subroutine library.'
' '
'     -Build an entire system for a specific task, where the'
'      back end (analysis) is programmed in MATLAB, thereby'
'      reducing development time.'
' '};

helpwin(str, ttl);

case 'newsgrp'

ttl='MATLAB Newsgroup';
Str= {' comp.soft-sys.matlab is an unmoderated USENET newsgroup '
' where participants may discuss issues related to MATLAB,'
' SIMULINK, and the MATLAB Toolboxes. Users from around   '
' the world use this newsgroup not only to discuss        '
' products among themselves, but also to solve problems   '
' and share application code. Like all USENET             '
' newsgroups, it is an independent entity and is not      '
' affiliated with The MathWorks.                          '
'                                                         '
' The MathWorks considers the newsgroup an extremely      '
' valuable resource and strongly encourages users to     '
' participate in newsgroup discussions. The MathWorks     '
' closely follows the newsgroup activities, providing     '
' answers to technical and informational queries, and     '
' posting announcements of general interest to the MATLAB '
' user community.                                         '
'                                                         '
' To participate in the MATLAB newsgroup, you need to have'
' access to USENET News (a service on the Internet). Using'
' any standard newsreader, open the group                 '
' comp.soft-sys.matlab to participate in discussions about'
' MATLAB, SIMULINK and the MATLAB Toolboxes.              '};             

helpwin(Str, ttl);

case 'digest',

ttl ='The MATLAB Digest';
str = {'The MATLAB Digest is a monthly electronic news forum    '
     ' sent to all subscribing users.                          '
     '                                                         '
     ' The MATLAB Digest contains:                             '
     '                                                         '
     '      Questions and answers on technical topics          '
     '      Articles written by MATLAB developers              '
     '      Product announcements                              '
     '      Information on upcoming events                     '
     '      Hints and techniques on using MATLAB               '
     '      List of user-contributed files for the month       '
     '                                                         '
     ' Anyone who uses MATLAB can become a subscribing user    '
     ' by sending an email request to:                        '
     '          subscribe@mathworks.com                        '
     '                                                         '};  
helpwin(str, ttl);

case 'access',

ttl ='MATLAB Access Program';
str= {'The MathWorks is enhancing its customer support services with'
'a new service for MATLAB users called MATLAB Access. The program'
'features a MATLAB Access card with a personal ID number. By using your'
'MATLAB Access number when you contact The MathWorks, you can obtain'
'customer service, technical support, access to electronic Web resources,'
'and early notification of product releases.'
' '
'MATLAB users who have not registered can join MATLAB Access by contacting'
'our Customer Service Department at (508) 647-7000, or by sending e-mail to'
'access@mathworks.com.'
' '};
helpwin(str, ttl);


case 'intnl',

str = {'                                                 '
     ' Use this information to reach the most convenient '
     ' international distributor for you.                '
     '                                                   '
     ' Australia'
     ' CEANET Pty., Ltd. – Headquarters'
     ' 4th Floor, 56 Berry Street'
     ' North Sydney NSW 2060, Australia'
     ' Tel: +61 (0)2-9922-6311'
     ' Fax: +61 (0)2-9922-5118'
     ' E-mail: belinda@ceanet.com.au'
     ' Web: http://www.ceanet.com.au'
     ' '
     ' Brisbane office:'
     ' Tel: +61 (0)7-3369-4499'
     ' Fax: +61 (0)7-3369-4469'
     ' E-mail: ken@ceanet.com.au'
     ' '
     ' '
     ' Brazil'
     ' OpenCadd Computacao Grafica'
     ' Av. Brig. Faria Lima 1931-4 And.-CJ42'
     ' Cep 01452-001 Sao Paulo, Brazil'
     ' Tel: +55-11-816-3144'
     ' Fax: +55-11-816-7864'
     ' E-mail: opencadd@sanet.com.br'
     ' '
     ' '
     ' Czech Republic, Slovakia, Russia, '
     ' Ukraine, Belarus, Moldavia'
     ' Humusoft s.r.o.'
     ' Novakovych 6'
     ' 180 00 Praha 8, Czech Republic'
     ' Tel: +420-2-68-44-174'
     ' Fax: +420-2-68-44-174'
     ' E-mail: byron@humusoft.cz'
     ' Web: http://www.humusoft.cz'
     ' '
     ' '
     ' France'
     ' Scientific Software Group'
     ' 20 Rue Troyon'
     ' 92316 Sevres Cedex, France'
     ' Tel: +33-01-41-14-67-14'
     ' Fax: +33-01-41-14-67-15'
     ' E-mail: info@ssg.fr'
     ' Web: http://www.ssg.fr'
     ' '
     ' '
     ' Germany, Austria'
     ' Scientific Computers GmbH'
     ' Franzstrasse 107'
     ' D-52064 Aachen, Germany'
     ' Tel: +49 (0)241-470750'
     ' Fax: +49 (0)241-44983'
     ' E-mail: matlab.info@scientific.de'
     ' Web: http://www.scientific.de'
     ' '
     ' Unterfeohring (Munich) office:'
     ' Tel: +49 (0)89-995-901-0'
     ' Fax: +49 (0)89-995-901-11'
     ' '
     ' India, Sri Lanka'
     ' Cranes Software International (P) Ltd.'
     ' No. 5, Airport Road'
     ' Domlur Layout (Service Road)'
     ' Bangalore 560 071, India'
     ' Tel: +91 (0)80-5549-338 '
     ' Fax: +91 (0)80-5546-299'
     ' E-mail: matlab@CRANES.XEEBLR.xeemail. ems.vsnl.net.in'
     ' '
     ' Israel'
     ' Omikron Delta (1927) Ltd.'
     ' 10 Carlebach Street'
     ' Tel-Aviv 67132, Israel'
     ' Tel: +972 (0)3-561-5151'
     ' Fax: +972 (0)3-561-2962'
     ' E-mail: info@omikron.co.il'
     ' Web: http://www.omikron.co.il'
     ' '
     ' '
     ' Italy'
     ' Teoresi s.r.l.'
     ' via Foggia, 30'
     ' 10152 Turin, Italy'
     ' Tel: +39 (0)11-240-80-80'
     ' Fax: +39 (0)11-240-80-24'
     ' E-mail: info@teoresi.it'
     ' Web: http://www.teoresi.it'
     ' '
     ' '
     ' Japan'
     ' Cybernet Systems Co., Ltd.'
     ' Nissay Otowa Building'
     ' 2-15-6 Otsuka'
     ' Bunkyo-ku, Tokyo, 112, Japan'
     ' Tel: +81 (0)3-5978-5410'
     ' Fax: +81 (0)3-5978-5440'
     ' E-mail: infomatlab@cybernet.co.jp'
     ' Web: http://www.cybernet.co.jp'
     ' '
     ' '
     ' Korea'
     ' Kimhua Technologies, Inc.'
     ' 5F, Hanho B/D, 165-14'
     ' Samsung, Kangnam'
     ' Seoul, 135-090, Korea'
     ' Tel: +82 (0)2-556-1257'
     ' Fax: +82 (0)2-556-4020'
     ' E-mail: info@soft.kimhua.co.kr'
     ' '
     ' '
     ' The Netherlands, Belgium, Luxembourg'
     ' Scientific Software Benelux B.V.'
     ' Bleulandweg 1B'
     ' 2803 HG Gouda, The Netherlands'
     ' Tel: +31 (0)182-53-76-44'
     ' Fax: +31 (0)182-57-03-80'
     ' E-mail: info@ssb.nl'
     ' '
     ' '
     ' New Zealand'
     ' Hoare Research Software'
     ' 510 Grey Street, P.O. Box 4153'
     ' Hamilton East, New Zealand'
     ' Tel: +64-7-839-9102'
     ' Fax: +64-7-839-9103'
     ' E-mail: ray_hoare@hrs.co.nz'
     ' Web: http://www.hrs.co.nz/comm/hrs'
     ' '
     ' The Nordic Countries and Baltic States'
     ' Computer Solutions Europe AB'
     ' S-113 47 Stockholm, Sweden'
     ' Tel: +46 (0)8-15-30-22'
     ' Fax: +46 (0)8-15-76-35'
     ' E-mail: info@comsol.se'
     ' Web: http://www.comsol.se'
     ' '
     ' Soborg, Denmark office: '
     ' Tel: +45 (0)39-66 56 50'
     ' Fax: +45 (0)39-66 56 20'
     ' E-mail: info@comsol.dk'
     ' Helsinki, Finland office: '
     ' Tel: +358 (0)9-455-0055'
     ' Fax: +358 (0)9-455-0051 '
     ' E-mail: info@comsol.fi '
     ' Trondheim, Norway office: '
     ' Tel: +47 (0)73-5092-20'
     ' Fax: +47 (0)73-5092-21'
     ' E-mail: info@comsol.no'
     ' '
     ' '
     ' Poland'
     ' PHU ControlSoft'
     ' al. Mickiewicza 30'
     ' 30-059 Krakow, Poland'
     ' Tel: +48 (0)12-6-17-33-48'
     ' Fax: +48 (0)12-6-33-27-12'
     ' E-mail: info@controlsoft.krakow.pl'
     ' Web: http://www.controlsoft.krakow.pl'
     ' '
     ' '
     ' Singapore, Malaysia, Thailand, '
     ' The Philippines, Indonesia, Brunei '
     ' TechSource Systems Pte Ltd.'
     ' 3014-A Ubi Road, 1 #05-12'
     ' Kampong Ubi Ind. Estate'
     ' Singapore 408703 '
     ' Tel: +(65)842-4222'
     ' Fax: + (65)842-5122'
     ' E-mail: info@techsource.com.sg'
     ' '
     ' '
     ' South Africa'
     ' Opti-Num Solutions'
     ' P.O. Box 412175 Craighall'
     ' Johannesburg 2024, South Africa'
     ' Tel: +27-11-325-6238'
     ' Fax: +27-11-325-6239'
     ' E-mail: optinum@infodoor.co.za'
     ' Web: http://www.infodoor.co.za/optinum'
     ' '
     '      ' 
     ' Spain, Portugal'
     ' AddLink Software Cientifico'
     ' Calle Rosellon, 205, 4º, 1ª'
     ' 08008 Barcelona, Spain'
     ' Tel: +34 (9)3-415-49-04'
     ' Fax: +34 (9)3-415-72-68'
     ' E-mail: info@addlink.es'
     ' Web: http://www.addlink.es'
     ' '
     ' '
     ' Switzerland'
     ' Scientific Computers SC AG'
     ' Schürrmattstrasse 6 + 8'
     ' CH-3073 Gümligen, Switzerland'
     ' Tel: +41-(0)31-954 20 20'
     ' Fax: +41-(0)31-954 20 22'
     ' E-mail: info@scientific.ch'
     ' Web: http://www.scientific.de'
     ' '
     ' '
     ' Taiwan'
     ' Howching Corporation'
     ' 11th Floor, 354 Fu-Hsing N. Road'
     ' Taipei, Taiwan'
     ' Tel: +886 (0)2-505-0525'
     ' Fax: +886 (0)2-502-4478'
     ' E-mail: info@pent1.greenhills.com.tw'
     ' '
     ' U.K., Ireland'
     ' Cambridge Control Ltd.'
     ' Newton House, Cambridge Business Park'
     ' Cowley Rd., Cambridge, CB4 4WZ, U.K.'
     ' Tel: +44 (0)1223-423-200'
     ' Fax: +44 (0)1223-423-289'
     ' E-mail: info@camcontrol.co.uk'
     ' Web: http://www.camcontrol.co.uk'
     ' '
     ' Hove, England office:'
     ' Tel: +44 (0)1273-722-838'
     ' Fax: +44 (0)1273-720-550'
     ' E-mail: pauline_fox@camcontrol.co.uk'
     ' '
     '                                                   '};

ttl = 'The MathWorks International Contacts';
helpwin(str, ttl);

case 'orderinfo',

str ={'The MathWorks is committed to helping customers get the most out of our'
'products they purchase. Registered users are entitled to:'
''
'-assistance from our technical support engineers'
'-MathWorks quarterly newsletters'
'-access to our software library via the internet'
''
'If you are not completely satisfied with your purchase, you may return'
'it within 30 days for a full refund. '
''
'There are three ways to order:'
''
'1) Mail us your purchase order, accompanied by a check in U.S. dollars,'
'   drawn on a U.S. bank.'
'2) Charge the order to a VISA, MasterCard, or American Express. Include'
'   the card number, expiration date, and name as it appears on the card.'
'3) Mail or fax us a purchase order. '
''
'For pricing on quantity purchases, contact the MathWorks.'
''
'                         The MathWorks Inc.'
'                            (508)647-7000.' 
'                          info@mathworks.com' 
'                          Fax: (508)647-7007.'
' '};
helpwin(str, 'How to purchase');
 
case 'contrib',

ttl='User Contributed files';
str = {'The MathWorks maintains an electronic (ftp) library of  '
  ' contributed software, graphics, and product information.'
  ' The library consists of contributions from MATLAB users'
  ' from around the world and members of The   '
  ' MathWorks staff. Contents are organized into the        '
  ' following areas:                                        '
  '                                                         '
  '    Product information                                  '
  '    User contributed M-files and MEX-files               '
  '    M-files associated with MATLAB based-books           '
  '    Archives from the comp.soft-sys.matlab newsgroup     '
  '    Archives from the MATLAB Digest                      '
  '    Patches and bug fixes                                '
  '    MATLAB Conference Proceedings                        '
  '    Technical Support documentation and material         '
  '                                                         '
  '    ftp Address:                                         '
  '        ftp://ftp.mathworks.com/pub/                     ' 
  '                                                         '};  

helpwin(str, ttl);

case 'ginfo',

  ttl = 'Graphical UI design';
  
  str ={'Guide makes it easy to interactively build graphical'
  'user interfaces (GUIs) in the MATLAB environment.'
  ' '
  'Now you can build your own GUI within minutes, rapidly'
  'tailoring visual tools to suit your exact needs.' 
  ' '
  'To use Guide, type:'
  ' '
  '>>guide'
  ' '
  'at the MATLAB command line.'
  ' '};

  helpwin(str, ttl);
 
end







