Mes file Debugging,-Dgdb command not found
2 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I am facing a segmentation fault with one of my mex files.In order to debug the file,I am entering matlab -Dgdb in the linux kernel as instructed in the help manual.However I get a message saying -Dgdb "Command not found".I checked my root directory and it appears that gdb is actually installed on my computer.What do I do?
0 件のコメント
回答 (1 件)
Walter Roberson
2011 年 6 月 5 日
Try specifying the full path to gdb after the -D .
Also, check whether "matlab" is a shell script for you (it often is in Unix systems). The script might be putting the user supplied options after other options, but -D needs to be the first option.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!