Skip to content

Commit

Permalink
Update matlab.md with list of toolboxes and Activating Matlab
Browse files Browse the repository at this point in the history
  • Loading branch information
Gery-ITS authored Jun 7, 2024
1 parent 5945052 commit 957fdb5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/guides/application_guides/matlab/matlab.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,22 @@ Additional matlab toolboxes can be installed in the following manner:
```
mpm install --release=R2024a --destination=$HOME/matlab --products Signal_Processing_Toolbox Communications_Toolbox
```
For a full list of available toolboxes check out [mpm's documentation for input files](https://github.com/mathworks-ref-arch/matlab-dockerfile/tree/main/mpm-input-files).
If you cannot find a toolbox you need, it might be unavailable for the Matlab release and/or platform, read about [mpm's limitations](https://github.com/mathworks-ref-arch/matlab-dockerfile/blob/main/MPM.md#limitations).

As we want to be able to launch matlab, when we type `matlab` - we will need to add the directory of the matlab executable to our `PATH` variable. We do this and restart our shell:
```
echo "export PATH=$HOME/matlab/bin:$PATH" >> .bashrc && exec $SHELL
```

## Activating Matlab
Matlab needs an active licence to run. Before starting the activation process, open your local browser and visit [MathWorks to acquire a one-time password](https://mathworks.com/mwa/otp).
```
bash $HOME/matlab/bin/activate_matlab.sh
```
Choose "Activate automatically using the Internet" then "Log in to my MathWorks Account" with your AAU e-mail and the one-time password to proceed with activation. Select the appropriate license for you (student or employee), finally confirm the information and finish the activation process.


## Running Matlab

There are two ways in which you can work with Matlab on Strato instances.
Expand Down

0 comments on commit 957fdb5

Please sign in to comment.