Problem with fixed point tools

6 次查看(过去 30 天)
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 个评论
yahoosreekanth
yahoosreekanth 2014-6-30
hi everybody,
it is very urgent for me. please help me
Bokhodirjon Nurullaev
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

请先登录,再进行评论。

采纳的回答

MUHAMMAD NAZIF BIN JAAFAR
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

更多回答(1 个)

Sadam Hussain
Sadam Hussain 2019-1-14
编辑:Sadam Hussain 2019-1-14
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]

类别

Help CenterFile Exchange 中查找有关 Array and Matrix Mathematics 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by