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?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
MathWorks Support Team
am 27 Jun. 2009
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Fuzzy Logic in Simulink finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!