Skip to content

Commit

Permalink
Merge pull request #28 from aau-claaudia/matlab
Browse files Browse the repository at this point in the history
Added: How to install toolboxes
  • Loading branch information
sdavidsson90 authored Mar 27, 2024
2 parents 747c4da + fe7f39e commit 667b3c1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/guides/application_guides/matlab/matlab.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,14 @@ Now install Matlab using MPM. Note that here we are installing a version from la
mpm install MATLAB --release=R2023b --destination=$HOME/matlab/
```

Additional matlab toolboxes can be installed in the following manner:
```
mpm install --release=R2023b --destination=$HOME/matlab --products Signal_Processing_Toolbox Communications_Toolbox
```

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
echo "export PATH=$PATH:$HOME/matlab/bin" >> .bashrc && exec $SHELL
```

## Running Matlab
Expand Down

0 comments on commit 667b3c1

Please sign in to comment.