Search This Blog

Sunday 12 February 2023

Install Matlab in Ubuntu 22

Download the MATLAB from 

 https://www.mathworks.com/downloads

Use your login and password to download the last version of Matlab

Unzip the file that you downloaded with

unzip -X -K matlab_R2022b_glnxa64.zip -d matlab_2022b_installer

cd matlab_2022b_installer

sudo ./install

Use your email and password associated with your Matlab account and license

Be careful, when the installer ask you for your Login name, use the username of your local computer. To know what is that, use the command

whoami

I found that the prompt of the installer didn't work properly, my solution for that was to write down the word somewhere else and then copy and paste it using Ctrl+c and Ctrl+p

If you want to try the GPU in Matlab make sure you install GPU coder and parallel computing options. The command that you have to run is

openExample('parallel/paralleldemo_gpu_benchmark')

It is assumed that your CUDA toolkit is running appropriately in your system. 


No comments:

Post a Comment