MATLAB Answers

how to use a vector output from a certain block as an input for if block, or is it possible?

조회 수: 1(최근 30일)
bitec bit
bitec bit 2021년 4월 30일
댓글: bitec bit 2021년 4월 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?
Thanks!

답변(1개)

Jonas
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.
  댓글 수: 1
bitec bit
bitec bit 2021년 4월 30일
thanks jonas!
no it is not time, these are a 2 by 100 matrix values that goes back to the workspace.( sorry but 200 is a mistake)

댓글을 달려면 로그인하십시오.

범주

Community Treasure Hunt

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

Start Hunting!

Translated by