Linux and MATLAB: Segmentation fault (core dumped)

21 ビュー (過去 30 日間)
HC98
HC98 2023 年 5 月 25 日
コメント済み: Shivani 2023 年 5 月 29 日
Every time I go to launch my code using
matlab -batch <filename>
I get
Segmentation fault (core dumped)
Anny ideas? I'm using Ubnuntu and the code works fine if I launch it in MATLAB's IDE, just the terminal...
  1 件のコメント
Shivani
Shivani 2023 年 5 月 29 日
Hi,
There may be several reasons that are causing this error to appear, it is diificult to determine the exact reason without more context. However, one of the below mentioed solutions may rectify the error:
  • Check your file name and path and make sure that they are correct. In the matlab -batch <filename> command, <filename> should be the full path to the MATLAB file you want to run.
  • Try updating your version of MATLAB to the latest version and ensure that it is compatible with your version of Ubuntu
Hope this helps!

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by