How do I find Matlab after its installed on Linux?
194 ビュー (過去 30 日間)
古いコメントを表示
I finished intalling Matlab through the linux terminal. I know the directory name is /usr/local/MATLAB/R2022b I just dont get how to find it. I used 'cd /usr/local/MATLAB/R2022b' which brings me into the directory, but I dont know where to go from there. Do I try to open a file under the directory? If so what file? I just need to know how to open Matlab after installing it. From what I have understood so far, I have to open it through the terminal. Please help thank you.
0 件のコメント
回答 (1 件)
Steven Lord
2022 年 10 月 30 日
5 件のコメント
Steven Lord
2024 年 6 月 7 日
If you don't have a folder in which you installed MATLAB, you can't run MATLAB on your local machine because it's not installed. You'd need to install it first (or use MATLAB Online to avoid having to install it locally.)
In the original question where the poster wrote "I know the directory name is /usr/local/MATLAB/R2022b", matlabroot is the directory /usr/local/MATLAB/R2022b. So to start MATLAB in that scenario, you'd run the file in this location:
/usr/local/MATLAB/R2022b/bin/matlab
Of course, if you're using a different release the R2022b part of that directory path will be different. So for release R2024a the file would probably be:
/usr/local/MATLAB/R2024a/bin/matlab
Of course, if you told the Installer to create symbolic links, you should be able to just type
matlab
Ah, I see your question/confusion. You tried running matlabroot from the system prompt and it wasn't listed. Yeah, that only works if you've already started MATLAB and if you're trying to find matlabroot to start MATLAB it's not going to be much help. I'll note that to the documentation staff.
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!