Can I use an output of a Matlab function delayed by a memory block as an input for the same Matlab function in Simulink?
조회 수: 1 (최근 30일)
이전 댓글 표시
I wanted to define variables within a Matlab function in Simulink. To decide which values the variabels will have in the current simulation step the variable values from the previous simulation step are necessary and feedback delayed with a memory block.
If I do this I get an error message during compilation.
Without the feedback the model compiles but does not deliver the desired result.
댓글 수: 1
Vaibhav Awale
2016년 3월 16일
Can you please let us know the error message that you get during compilation?
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!