home *** CD-ROM | disk | FTP | other *** search
- echo off
- cls
- if %0 == install goto BAD
- if %0 == install.bat goto BAD
- if %0 == a:install goto A
- if %0 == a:install.bat goto A
- if %0 == b:install goto B
- if %0 == b:install.bat goto B
- goto BAD
- :A
- echo ╔═════════════════════════════════════════════╗
- echo ║ MATLAB hard disk installation procedure ║
- echo ╚═════════════════════════════════════════════╝
- echo .
- echo Verify that the MATLAB Disk 1 is in drive A:
- pause
- echo .
- echo Hard disk directory that MATLAB will be installed to is
- cd
- echo To terminate, press Ctrl-Break. Otherwise,
- pause
- echo .
- echo Copying MATLAB files to the hard disk. . .
- mkdir signal
- mkdir mex
- copy A:*.*
- install2 A
- exit
- :B
- echo ╔═════════════════════════════════════════════╗
- echo ║ MATLAB hard disk installation procedure ║
- echo ╚═════════════════════════════════════════════╝
- echo .
- echo Verify that the MATLAB Disk 1 is in drive B:
- pause
- echo .
- echo Hard disk directory that MATLAB will be installed to is
- cd
- echo To terminate, press Ctrl-Break. Otherwise,
- pause
- echo .
- echo Copying MATLAB files to the hard disk. . .
- mkdir signal
- mkdir mex
- copy B:*.*
- install2 B
- exit
- :BAD
- echo Can't install.
- echo The default drive must be a hard disk.
- echo The floppy drive must be A: or B:.
- echo .
- echo To install MATLAB:
- echo .
- echo 1) Create a new directory called C:\MATLAB
- echo 2) Set it to your current directory with CD \MATLAB
- echo 3) Execute x:INSTALL where x is the name of the
- echo floppy drive with the installation diskette in it.
- echo .