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

1 view (last 30 days)
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!

Answers (1)

Jonas
Jonas on 30 Apr 2021
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 Comment
bitec bit
bitec bit on 30 Apr 2021
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)

Sign in to comment.

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!