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

5 visualizzazioni (ultimi 30 giorni)
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!

Risposte (1)

Jonas
Jonas il 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 Commento
bitec bit
bitec bit il 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)

Accedi per commentare.

Categorie

Scopri di più su Simulink Functions in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by