フィルターのクリア

S Function gives error on Ctrl-D

1 回表示 (過去 30 日間)
Deepak
Deepak 2011 年 11 月 18 日
Hi, I am using an SFunction from Dymola in my matlab model in Matlab 2009BSP1. Whenever I do an UpdateDiagram the SFunction reports an error and Matlab crashes. However if I click Start Simulation everything updates properly and the model simulates. Could someone help me understand why this could be.
Thanks a lot.
  1 件のコメント
Kaustubha Govind
Kaustubha Govind 2011 年 11 月 18 日
It is hard to tell with this information because S-functions can crash due to a variety of reasons. Do you have the source code for the S-functions? If yes, I would recommend debugging the S-function (see http://www.mathworks.com/help/toolbox/simulink/sfg/bq2rjeu-1.html for more information) to see what line causes the crash. If you don't have the source, it may be best to report this to the vendor.

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

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by