Matlab has encountered an internal problem and needs to close

7 ビュー (過去 30 日間)
Natalia
Natalia 2011 年 3 月 1 日
Good afternoon! I create s-function on C from an example csfunc.c. I create mex. Also I try to connect it in simulink the block s-function. But there is an error "Matlab has encountered an internal problem and needs to close" and closes matlab. Somebody had such error? Or it is better to address in technical support...
Thanks

採用された回答

Kaustubha Govind
Kaustubha Govind 2011 年 3 月 1 日
Did you modify the S-function? If yes, it is likely that your code is causing a segmentation violation causing MATLAB to shut down. Please read How Do I Debug C MEX S-Functions for information on debugging your S-function.
  1 件のコメント
Natalia
Natalia 2011 年 3 月 2 日
Thanks. Now my following steps are clear to me.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by