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.

 Réponse acceptée

Qifan Wu
Qifan Wu le 14 Juil 2021

0 votes

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.

Plus de réponses (0)

Produits

Version

R2019b

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by