カスタムコードを呼び​出すS-Functi​onを含むモデルをR​apid Accelerator モードで実行しようと​するとビルドエラーが​発生するのはなぜです​か?

C Mex S-Functionを含むモデルをRapid Accelerator モードで実行しようとするとビルドエラーが発生します。S-Functionは、カスタムCコードからの関数呼び出しを含みます。
Acceleratorモードでは、ビルドエラーが発生しません。

 Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 20 de En. de 2017

0 votos

Rapid Accelerator モードの場合、
[コンフィギュレーションパラメータ]
-> [シミュレーションターゲット]
-> [カスタムコード]
において、S-Functionからコールされるカスタムコード(Cソースファイル、ヘッダファイル、またはライブラリファイル)を登録する必要があります。
ここでカスタムコードを登録することにより、Rapid Accelerator モードでカスタムコードを含めたビルドを行うことが可能となります。

Más respuestas (0)

Categorías

Más información sobre Block and Blockset Authoring en Centro de ayuda y File Exchange.

Productos

Versión

R2010a

Community Treasure Hunt

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

Start Hunting!