Create a batch file that first copies down the license.dat file to the local drive
and then runs "setup.exe -if installer.ini"
Installer.ini has to be edited, with entries like destination folder name, PLP
and location of the license.dat file
It works pretty well.
For the uninstall, run
"c:\program files\Matlabr2009b\uninstall\uninstall.exe" -if "c:\temp\uninstaller.ini"
The uninstaller.ini file is found in c:\program files\Matlabr2009b\uninstall along with uninstall.exe. The ini file needsto be edited.
An automated windows installation of matlab is fairly painless, however that's not the case for the linux version. I contacted mathworks who told me that the linux version had no option for an automated install. In light of this, the following expect script answers all the questions matlab R2009b asks on install.
#!/usr/bin/expect
set timeout -1
spawn ./install -t
expect ">"
send "a\r"
expect "Enter the MATLAB root folder >*"
send "/usr/local/matlab/\r"
expect "Enter your File Installation Key >*"
send "your-serial-number\r"
expect "Enter a number to toggle installing*"
send "c\r"
expect "Do you want to create symbolic links*"
send "y\r"
expect "Enter the location for the links*"
send "\r"
expect "Enter the location of the license file >*"
send "/usr/local/matlab/license.dat\r"
expect "Begin Installation*"
send "y\r"
1) Install expect (under debian/ubuntu : "apt-get install expect")
2) paste the above script into matlab.exp
3) move the script to the directory in which you downloaded matlab (/tmp/matlab/unix)
4) make the script executable (chmod +x matlab.exp)
5) execute the script as root or sudo (sudo ./matlab.exp)
6) let it talk to itself for a while. Depending on the computer, this can take up to 15 minutes for a full install with all the toolboxes.
Questions & Answers related to MathWorks Matlab R2009b
Blogs (0)
Blog posts related to MathWorks Matlab R2009b
Links (0)
Links related to MathWorks Matlab R2009b
Reviews (0)
Reviews related to MathWorks Matlab R2009b
This website uses cookies.
By continuing to use this site and/or clicking the "Accept" button you are providing consent
Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our
websites or when you do business with us. For more information about our
Privacy Policy and our data protection
efforts, please visit
GDPR-HQ