Simulink quesstion with using fnc block
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi I'm pretty new to using simulink and have a quick question about the fcn block. If I wanted to input an equation such as
Vs= Vp./((Zw./(N*ZL))+N)
, would all the variables be replaced with u instead?
0 Commenti
Risposta accettata
madhan ravi
il 25 Mar 2019
function Vs = fcn(Vp,Zw,N,Zl)
7 Commenti
madhan ravi
il 25 Mar 2019
Modificato: madhan ravi
il 25 Mar 2019
Exactly, see a simple example below:
In the picture above
5 => u(1)
1 => u(2)
2 => u(3)
black rectangle is the Mux block.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Programmatic Model Editing 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!