How to extract elements of a matrix coming as output from a simulink block?
조회 수: 9 (최근 30일)
이전 댓글 표시
I have created a MATLAB Function block in my simulink model which takes 6 input Forces(I separately input all the 6 Forces) and many other constant values. The outputs i get are a matrix and 2 vectors. Can i pass the matrix and vectors directly to another matlab function block which is expecting a matrix input?Else, how do i access the matrix elements and construct a new matrix and then pass it to my second matlab function block?
댓글 수: 0
답변 (1개)
Birdman
2018년 6월 5일
See the attached example. I made necessary explanations on the Simulink model. Check the contents of the MATLAB Functions.
댓글 수: 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!