fixed.Interval not working as Intended

Hello,
I'm trying to define a fixed.Interval object using the fixed.Interval construct. I'm typing the same code as mentioned in the documentation like for example:
f = fixed.Interval(pi);
And I'm getting the error:
Error setting default value of property 'LeftEnd' of class 'fixed.Interval':
Invalid data type. Default value must be embedded.fi or convertible to class embedded.fi.
I tried multiple things but they all seem to not work. I'm using Matlab 2019b, any help would be appreciated.

 Respuesta aceptada

Qifan Wu
Qifan Wu el 14 de Jul. de 2021

0 votos

You may need to install 'Fixed-Point Designer' toolbox. You can try the trial version of this toolbox by installing it.
If you want to get a license for 'Fixed-Point Designer' toolbox,contact MathWorks support.

Más respuestas (0)

Productos

Versión

R2019b

Etiquetas

Preguntada:

el 14 de Jul. de 2021

Respondida:

el 14 de Jul. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by