Error: Values of BreakpointsForDimension1 in 'Lookup_table' must be monotonically increasing.
이전 댓글 표시
Hello,
I'm frustrated with the error that I'm getting while running my simulink model which has a 1-D lookup table. The lookup data is a nx1 matrix which is generated in an ODE45 integration. The error is:
Values of BreakpointsForDimension1 in 'output_control/Normal force' must be monotonically increasing.
I looked at other Q/As here but I couldn't understand them. Can someone please give me a workaround to this problem in an easy language so that a rookie in simulink like me can understand? I really appreciate it.
댓글 수: 1
Swarooph
2017년 6월 22일
Having the data and a simple model trying to use it will help us understand. Looks like a problem with dimensions of either data/breakpoints. But impossible to help without knowing more about the actual data.
채택된 답변
추가 답변 (2개)
babak znl
2018년 6월 1일
1 개 추천
hello I also had this problem but i found a solution. i used 2 lookup table instead of one , one lookup table for the incremental part and one for the decremental part, so you should separate your data from that break point from which error occurs , and you can use simple logic blocks to to direct the input data to the desired lookup table.
댓글 수: 2
mechetoune walid
2019년 5월 5일
Can you give me an example.
Siddharth Kamila
2022년 6월 13일
How to do this, can you briefly explain this.
Vignesh
2024년 12월 29일
0 개 추천
In my case, i was reading the data from an excel using worng function "readtable".
Instead using "readmatrix" for nx1 data fixed the issue in Lookup table BreakpointForDimention issue.

카테고리
도움말 센터 및 File Exchange에서 Event Functions에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!