installing matlab silently in linux terminal on mac
조회 수: 12 (최근 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!