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

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

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.
The independent variable (I guess time) has to be ordered, not the dependent variable.
Best wishes
Torsten.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

질문:

2015년 8월 3일

댓글:

2015년 8월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by