2021-05-14 14:15:05 +00:00
|
|
|
= Matlab for Nix users
|
|
|
|
|
2021-05-15 07:18:45 +00:00
|
|
|
This repo is a collection of files that should help Nix and NixOS users install Matlab imperatively.
|
2021-05-14 14:15:05 +00:00
|
|
|
|
2021-05-15 07:18:45 +00:00
|
|
|
== Install
|
2021-05-14 14:15:05 +00:00
|
|
|
|
2021-05-15 07:18:45 +00:00
|
|
|
Like any other Matlab user, you should first go to your Matlab account on
|
|
|
|
Mathworks' website, at: https://www.mathworks.com/mwaccount/ and download the
|
|
|
|
installation zip file. Extract the zip file and note the `install` executable
|
|
|
|
you just extracted. To run that file, you'll need to get into a FHS environment
|
|
|
|
that a nix-shell will provide.
|
2021-05-14 14:15:05 +00:00
|
|
|
|
2021-05-15 07:18:45 +00:00
|
|
|
=== Run `matlab-shell` with an unstable Nix
|
2021-05-14 14:15:05 +00:00
|
|
|
|
2021-05-15 07:18:45 +00:00
|
|
|
....
|
|
|
|
nix run github:doronbehar/nix-matlab#matlab-shell
|
|
|
|
....
|
|
|
|
|
|
|
|
=== Run `matlab-shell` with +++<s>stable</s>+++ legacy Nix
|
|
|
|
|
|
|
|
....
|
|
|
|
git clone https://github.com/doronbehar/nix-matlab
|
|
|
|
cd nix-matlab
|
|
|
|
nix-shell
|
|
|
|
....
|
|
|
|
|
|
|
|
=== Installation of Matlab itself
|
|
|
|
|
|
|
|
include::./install.adoc[]
|
2021-05-14 14:15:05 +00:00
|
|
|
|
|
|
|
=== Adding `matlab` executables to your system
|
|
|
|
|
2021-05-15 07:18:45 +00:00
|
|
|
TODO:: Write this
|
|
|
|
|
2021-05-14 14:15:05 +00:00
|
|
|
==== For NixOS users with a flakes setup
|
|
|
|
|
|
|
|
==== For NixOS users without a flakes setup
|
|
|
|
|
|
|
|
==== Home Manager setup
|
|
|
|
|
|
|
|
== Previous work
|
|
|
|
|
|
|
|
TODO:: Add links to tviti's repo etc.
|