How to define data array in simulink
이전 댓글 표시
Hello all,
I want to define the array in simulink which consist of 'n' elements in it.
Can I read and write the array elements individually? If yes. How.?
please tell me as early as possible.
Thanks and Regards,
Rahut Patil.
댓글 수: 2
madhan ravi
2019년 3월 28일
Use constant block, what do you mean by read and write the array individually?
rahut patil
2019년 3월 28일
답변 (3개)
madhan ravi
2019년 3월 28일
0 개 추천


댓글 수: 2
rahut patil
2019년 3월 28일
편집: madhan ravi
2019년 3월 28일
madhan ravi
2019년 3월 28일
편집: madhan ravi
2019년 3월 28일
Share the picture of your model/upload your model by clicking the paper clip button.
rahut patil
2019년 3월 28일
0 개 추천
댓글 수: 2
rahut patil
2019년 3월 28일
madhan ravi
2019년 3월 28일

% MATLAB Function code
function y = fcn(u,index_number,value_assigned)
y = u;
y(index_number) = value_assigned;
카테고리
도움말 센터 및 File Exchange에서 Subsystems에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!