Why does Real-Time Workshop throw a datatype error message even though I am not using any custom datatypes?

1 view (last 30 days)
Why does Real-Time Workshop throw a datatype error message even though I am not using any custom datatypes?
I have a model that uses fixed-point datatypes. It simulates without a problem. However, when I try to build my model, I get the following error message.
Error using ==> make_rtw
Error using ==> tlc_c
Error using ==> rtwgen
Invalid run-time parameter registered by block 'GHz/5.2 GHz DFE (fxp)/CCE & LS GI Detection
(fxp)/metric and phase difference accumulator/Unit Delay1'.
All run-time parameters must resolve to a valid Simulink datatype.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed for Release 14 SP1 (R14SP1). For previous releases, please read below for any possible workarounds:
Simulink can handle fixed-point data of length up to 128 bits. Real Time Workshop can only handle a fixed-point data length of 32 bits. The documentation of this limitation is available by entering the following command at the MATLAB command prompt:
web([docroot '\toolbox\fixpoint\c7_code3.html#3988'])

More Answers (0)

Products


Release

R13SP1

Community Treasure Hunt

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

Start Hunting!