Hit Crossing driven by a signal of type 'single'
Mostra commenti meno recenti
Hey community, I'm frustrated by now. I can't use the given Simulink block for a Relay because I have to change the switch on/off boarders (so they have to be inputs).
So I constructed my own "relay block" with a Hit Crossing block in it. But I can't build this, because of the Hit Crossing block can only be driven by double signals. But for some reasons I'm only allowed to use integers, singles and booleans.
Anybody knows an alternative way?
Risposta accettata
Più risposte (1)
Anthony Poulin
il 16 Set 2014
1 voto
Hey, indeed this block only accepts the type "double" for input. Is it an acceptable way for you to use the block "Data Type Convertion" just before the "hit crossing" block?
With this block whatever the type of the input it will be converted in double through the "Data Type Conversion" block and then goes to the "Hit crossing" block.
1 Commento
geieraffe
il 17 Set 2014
Categorie
Scopri di più su General Applications in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
