MATLAB Answers

fixed.Interval not working as Intended

5 views (last 30 days)
Haydar Dyab
Haydar Dyab on 14 Jul 2021
Answered: Qifan Wu on 14 Jul 2021
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.

Accepted Answer

Qifan Wu
Qifan Wu on 14 Jul 2021
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.

More Answers (0)

Tags

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by