Simulink quesstion with using fnc block
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Light
am 25 Mär. 2019
Bearbeitet: madhan ravi
am 26 Mär. 2019
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 Kommentare
Akzeptierte Antwort
madhan ravi
am 25 Mär. 2019
function Vs = fcn(Vp,Zw,N,Zl)
7 Kommentare
madhan ravi
am 25 Mär. 2019
Bearbeitet: madhan ravi
am 25 Mär. 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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Interactive Model Editing finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
