Why do I receive the error "floating constant is out of range" when I build a model using Fuzzy Logic Controller block for my TI C2000 fixed point targets?

조회 수: 2(최근 30일)
I have created a new Simulink model that has a Fuzzy Logic Controller block. I am trying to use this model to develop a fuzzy logic controller for the TI C2000 fixed point embedded target. When I try to build the model, I receive the following error messages.
In MATLAB, it completes with '### Build Complete". In CCS, it errors as below:
: "TI_FLogic_data.c", line 29: error: floating constant is out of range
"TI_FLogic_data.c", line 29: error: floating constant is out of range
"TI_FLogic_data.c", line 29: error: floating constant is out of range
"TI_FLogic_data.c", line 30: error: floating constant is out of range
"TI_FLogic_data.c", line 30: error: floating constant is out of range
"TI_FLogic_data.c", line 121: error: floating constant is out of range
"TI_FLogic_data.c", line 121: error: floating constant is out of range
Build Complete,
33 Errors, 0 Warnings, 0 Remarks.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2009년 6월 27일
The ability to use the Fuzzy Logic Controller block in the Fuzzy Logic Toolbox to develop a controller for fixed point target such as the TI C2000 is not available.
The Fuzzy Logic Toolbox does not support fixed point data type and so, it does not support downloading a fuzzy logic controller implementation onto a TI C2000 fixed point target.
To work around this issue, you can use a floating point capable target.

추가 답변(0개)

범주

Find more on Fuzzy Logic Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by