Problem with fixed point tools
13 views (last 30 days)
Show older comments
yahoosreekanth
on 30 Jun 2014
Edited: Sadam Hussain
on 14 Jan 2019
hi every one,
i am simulating a model using blocks from both simscape and commonly used blocks. I got results in earlier version of matlab, but when i simulate it in new version it is giving the following error.
"Values of BreakpointsForDimension1 in 'm_1/pulse generator/Repeating Sequence1/Look-Up Table1' must be monotonically increasing. The problem occurs at the number 3 breakpoint. Please change the breakpoint data or use the fixedpoint tools such as Auto Scaling or Fixed-Point Advisor to determine a different parameter dialog type"
plese help me in overcoming this problem,
thank you.
3 Comments
Bokhodirjon Nurullaev
on 26 Oct 2016
Hi Sir. Were you able to solve this problem. I am having exact same problem. If you solved it can you tell me how? Thanks for response
Accepted Answer
MUHAMMAD NAZIF BIN JAAFAR
on 25 Nov 2015
1. Repeating Sequence block is a masked subsystem block having the Lookup 1-d block underneath it in MATLAB R2013b and before. In current releases, the 1-d block is replaced by the new n-D Lookup table block. The n-D lookup table block only accepts strictly monotonic values.
2. A workaround to this issue can be to change it to [0 0.00002 0.00002+eps]. 'eps' is the smallest floating-point number that can be recognized by MATLAB. Its value is 2^(-52). If you change the value to [0 0.00002 0.00002+eps] in repeating sequence generator. can find that the error is not occurring
3 Comments
More Answers (1)
Sadam Hussain
on 14 Jan 2019
Edited: Sadam Hussain
on 14 Jan 2019
Dear Sir .
I have small confision :
where i need to change the value in in time parameter in repeated block as i have below parameters value in repeated block :
time value =[0 11 11 15 15 23 23 28 28 49 49 61 61 85 85 96 96 117 117 143 143 155 155 163 163 176 176 188 188 195]
output value =[0 0 11.1 11.1 2 2 -2.8 -2.8 0 0 18.2 18.2 5.1 5.1 -5.6 -5.6 0 0 23.2 23.2 10.5 10.5 -8.5 -8.5 5.8 5.8 -6.2 -6.2 0 0]
0 Comments
See Also
Categories
Find more on Subsystems 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!