MATLAB Answers

Why does Simulink 5.0 (R13) crash when I use the Product block with fixed point data types?

3 views (last 30 days)
When I use the Product block to perform the inverse of a matrix, I receive correct results when using doubles. If I use a fixed-point data type, I receive either a crash or an output matrix is just
equal to the input matrix.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This is a bug in Fixed Point Blockset 4.0 (R13) when using fixed-point data types with the Product block.
The crash occurs because this block is not designed to do matrix inversion for fixed-point data types. The block should error out when this is attempted. Our development staff will look into correcting the error message displayed, as well as the documentation for this block, in a future release.
To work around this issue, do not use fixed-point data types with this block.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!