Error in the incremental build with a S-function on Real Time Windows Target

I'm trying to use a S-function with the Real Time Windows Target, but when I click on the "incremental build" an error occurs. An error window in the simulink shows the following message:
Error building Real-Time Workshop target for block diagram 'Sfunctionteste'. MATLAB error message: Error(s) encountered while building model "Sfunctionteste".
An error message appears on the matlab console: "cannot find the 'dobro'.obj". 'dobro' is the name of the c function placed in the S-function block. Somebody can help me?

2 件のコメント

Walsandro
Walsandro 2012 年 8 月 10 日
I'm using the rtwin compiler.
Walsandro
Walsandro 2012 年 8 月 10 日
When I use the S-function block with the same c function in a model without real-time windows target blocks the simulation runs correctly. This error only appears with a place an Analog Input block for example.

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

 採用された回答

Kaustubha Govind
Kaustubha Govind 2012 年 8 月 10 日
編集済み: Kaustubha Govind 2012 年 8 月 10 日

0 投票

If you're using R2008b or R2009a, this might be due to Bug#522933 - the Bug Report has a patch.

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by