command "mex" in terminal I get "This is pdfTeX" instead of Matlab-mex-command

3 ビュー (過去 30 日間)
If I run mex in terminal I get:
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=mex)
restricted \write18 enabled.
**
when I type which mex I get
/usr/local/texlive/2018/bin/x86_64-linux/mex

採用された回答

Johannes Kalliauer
Johannes Kalliauer 2019 年 9 月 30 日
To solve this issue:
1) I renamed `/usr/local/texlive/2018/bin/x86_64-linux/mex` to something else
2) I added `export PATH=/opt/MATLAB/R2018b/bin:$PATH` to my `.bashrc`

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWrite C Functions Callable from MATLAB (MEX Files) についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by