Problem with fixed point tools

8 ビュー (過去 30 日間)
yahoosreekanth
yahoosreekanth 2014 年 6 月 30 日
編集済み: Sadam Hussain 2019 年 1 月 14 日
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
Bokhodirjon Nurullaev 2016 年 10 月 26 日
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
MUHAMMAD NAZIF BIN JAAFAR 2015 年 11 月 25 日
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 件のコメント
Gagandip Singh Khanduja
Gagandip Singh Khanduja 2018 年 7 月 19 日
Thanks for useful infirmation
MURALI CHEKURI
MURALI CHEKURI 2018 年 9 月 25 日
Thanks for your valuable information

サインインしてコメントする。

その他の回答 (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 Center および File ExchangeArray and Matrix Mathematics についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by