For a better experience on dSPACE.com, enable JavaScript in your browser. Thank you!

FAQ 273: S-Functions Compiler Error with Microtec PPC Compiler Vs 3.x

Question

The compilation of a C-coded S-Function fails with the following error message:

line <line number> pos <position number>; a value of type "const mxArray *" cannot be used to initialize an entity of type "real_T *"

or a similar error message with different pointer types.

Why does the Microtec PowerPC Compiler report this error message and why does it not occur with older dSPACE Releases?

Answer

Tags

Date 2012-01-01
ソフトウェアタイプ 実装ソフトウェア
関連トピック コンパイラ
製品 Real-Time Interface(RTI)
タイプ FAQ
情報カテゴリー トラブルシューティング
dSPACE Release 2017-A, 2016-B, 2016-A, 2015-B, 2015-A, 2014-B, 2014-A, 2013-B, 2013-A, 2013-Aより前
Keywords S-Function, Microtec PowerPC Compiler Vs. 3.x, pointer assignment, s-function parameter