Designing Your Model: Model-Code Correspondence : Fixed-Point Variable Support : Unsupported Functionality

Unsupported Functionality

The following functionality is not supported:

FXP parameter passed by reference

The MicroC Code Generator generates the following error message:

Error: Unsupported usage of Fixed-Point parameter used by reference.

In function: <FUNC_NAME> Parameter number: <PARAM_NUM>.

FXP1(WS=8, SH=2) = 5

FXP2(WS=8, SH=2) = 2

FXP1/FXP2 = 2 (not 2.5)