Why do I receive an error when building code from the fxpdemo_code_only.mdl Fixed-Point Blockset demo model?
3 views (last 30 days)
Show older comments
I am attempting to generate code using the "fxpdemo_code_only" model.
I have followed the instructions contained within the model.
When I compile the model using the rtwec I get the following error:
Error executing build command: Error using ==> make_rtw
Error using ==> rtwgen
Logging non built-in data type is not supported. Cannot log outport block
'untitled/Out1' with data type sfix16_En12
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
The problem occurs when copying the model to the new window. The new model window that you copy the demo into logs the data for you by default. This causes an error message when generating code for fixed point data types.
In the new model, you need to go to Simulation Parameters and under the Workspace I/O tab, disable the "save to workspace" (time and output).
0 Comments
More Answers (0)
See Also
Categories
Find more on Fixed Point in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!