how to use a vector output from a certain block as an input for if block, or is it possible?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello!
I am working on oxygen concetrator project. but i am facing some challenge that i am hopefully clear those challenges with you guys.
so my question is,
there is a 2x200 vector output value from a certain block. i should use these value for another if block. but the problem is the 2x200 vector is not compatible in width or dimension for the input value of the if block. what should i do?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/602200/image.png)
Thanks!
댓글 수: 0
답변 (1개)
Jonas
2021년 4월 30일
So you have been posting this same question four times now in one form or another, but still it is not clear.
What are those 2x200 values? Is the dimension of those 200 values time? You can use the Selector block to select one value from the 2x200 matrix.
참고 항목
카테고리
Help Center 및 File Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!