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

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


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?


Date 2012-01-01
Software-Typ Implementierungssoftware
Themenschwerpunkt Compiler
Produkt Real-Time Interface (RTI)
Informationstyp FAQ (Häufig gestellte Fragen)
Informationskategorie Problembehandlung
dSPACE Release 2017-B , 2017-A, 2016-B, 2016-A, 2015-B, 2015-A, 2014-B, 2014-A, 2013-B, 2013-A, Bis 2013-A
Keywords S-Function, Microtec PowerPC Compiler Vs. 3.x, pointer assignment, s-function parameter