Skip to content

Commit a5e0d81

Browse files
committed
doc: how to set DOTNET_ROOT
1 parent e1c4301 commit a5e0d81

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

Readme.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,15 @@ The
3939
"backend" column tells which functions have selectable backend implementations.
4040
By default, when the "backend" is not specified to a function having selectable backend, the algorithm searches for the first available backend and uses that.
4141

42-
43-
* [.NET](https://www.mathworks.com/help/matlab/call-net-from-matlab.html)
42+
[.NET](https://www.mathworks.com/help/matlab/call-net-from-matlab.html)
43+
support in MATLAB includes:
4444
* Windows: all supported Matlab releases
45-
* Linux / macOS: R2024b and newer
45+
* Linux or macOS: R2024b and newer
46+
47+
For macOS, `brew install dotnet` and then in Matlab `edit(fullfile(userpath, 'startup.m'))` and add the line `setenv('DOTNET_ROOT', '/opt/homebrew/opt/dotnet/libexec')` where the path is determined from `brew --prefix dotnet`.
48+
49+
Other language backends include:
50+
4651
* [Java](./Readme_java.md): all supported Matlab releases
4752
* [Perl](https://www.mathworks.com/help/matlab/ref/perl.html): Matlab R2018a and newer. This uses a system() call to Perl.
4853
* [Python](https://www.mathworks.com/help/matlab/call-python-libraries.html): Matlab R2022b and newer. `stdlib.has_python` checks that the Python version set by `pyenv()` is compatible with the Matlab release.

0 commit comments

Comments
 (0)