installing matlab silently in linux terminal on mac

조회 수: 12 (최근 30일)
Jacquelyn
Jacquelyn 2025년 4월 14일
답변: Jacob Mathew 2025년 5월 9일
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

답변 (1개)

Jacob Mathew
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.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by