installing matlab silently in linux terminal on mac
14 次查看(过去 30 天)
显示 更早的评论
I am working on a MacBook Pro and need to run a workflow that contains programs written in Linux, Matlab, and Fortran.
I have successfully installed mulitpass and can launch a Linux command line (ubuntu) and have been able to execute Linux commands and run linux scripts. Example:
chmod +x remove_old_data_cop_21
./remove_old_data_cop_21
I am now trying to install matlab on my linux terminal. I have downloaded the linux version of matlab from the mathworks site with my whoi license and copied the download .zip into my Linux directory:
multipass transfer --recursive /Users/jveatch/Documents/MATLAB/ACC/altimetry/matlab_R2024b_Linux.zip ubuntu:/home/ubuntu/
I am now trying to install matlab in my linux.
multipass shell ubuntu
sudo apt install unzip
unzip matlab_R2024b_Linux.zip -d matlab_installer
sudo apt update
sudo apt install -y unzip libx11-6 libxext6 libxrandr2 libglu1-mesa libxtst6 libcanberra-gtk-module libcanberra-gtk3-module
Because my multipass linux does not have a GUI, I edited my installer_input.txt file to install silently.
# Path where MATLAB will be installed
destinationFolder=/home/ubuntu/MATLAB/R2024b
# License information
fileInstallationKey=[file install key omitted for question publication]
agreeToLicense=yes
# Choose which products to install (or use `products=*` for all)
products=*
# Disable GUI mode
mode=silent
I have tried several debugging-techniques and have been unable to get the installer to complete.
sudo ./install -inputFile installer_input.txt
0 个评论
回答(1 个)
Jacob Mathew
2025-5-9
Hey Jacquelyn,
You can follow the below documentation to install MATLAB Silently:
The guide also has a section that allows you to view installation and activation log files. These would be helpful in identifying what went wrong.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!