How to resolve MATLAB 2014a Simulink error "must be monotonically increasing"?

8 次查看(过去 30 天)
Hi, 
Currently, I am using MATLAB 2014a Simulink version. I want to generate PWM pulses for a switch. I am using repeating sequence generator and sinusoidal signal from sources library. Both are from simulink blocks category only. When I run the program.. following error appears..
"Values of BreakpointsForDimension1 in 'pv1/Repeating Sequence/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'.
same simulink file worked well in MATLAB 2012b version. I tried different suggestions, but did not work. Give me some suggestions regarding this.
Thank you. 

回答(1 个)

Torsten
Torsten 2015-8-3
Order Values of BreakpointsForDimension1 in 'pv1/Repeating Sequence/Look-Up Table1' such that
value(1)<value(2)<...<value(n)<...
Best wishes
Torsten.
  2 个评论
yahoosreekanth
yahoosreekanth 2015-8-3
Repeating sequence will generate repeated values at regular intervals of time.. It wont give "value(1)<value(2)<...<value(n)<.". But the block available in simulink... I dont know why matlab placed such block if it wont work.
Torsten
Torsten 2015-8-3
The independent variable (I guess time) has to be ordered, not the dependent variable.
Best wishes
Torsten.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by