In simulink, I need to have a block that does the following:
function y = fcn(u)
if u==M
put M as the first variable of a vector
put upcoming values as the next values in the vector
y=vector (when u is equal to M again)
end
Could you please help me with this?

답변 (0개)

카테고리

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

제품

태그

질문:

2016년 5월 10일

편집:

2016년 5월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by