- int from the Fixed-Point Toolbox
- int from the Filter Design Toolbox
- int from the Symbolic Math Toolbox
Please Solve My Problem in Integration(Embedded MATLAB Block)
조회 수: 9 (최근 30일)
이전 댓글 표시
function p= fcn(x)
p=int (x)
this is my program in embedded block
here,
x=step input to embedded block; p=output from embedded block to plot
I have error in these steps please help me and assist me to rectify this error
댓글 수: 0
채택된 답변
Arnaud Miege
2011년 4월 5일
Which int function are you using/intending to use?
I am going to assume that you want to integrate your input signal with respect to time. If that's the case, then you don't need an Embedded MATLAB Function block, use an Integrator block instead, that's what it's there for.
If I misunderstood your question, please clarify and provide the error message that you're getting.
HTH,
Arnaud
댓글 수: 2
Arnaud Miege
2011년 4월 19일
It sounds like your integrators are saturating. You need to figure out what's causing them to saturate and fix the root cause. Using Embedded MATLAB block is not going to help. Use scopes to look at the various signals around your feedback to try and figure out where the error is.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!