MATLAB: Simulink quesstion with using fnc block

fcn blocksimulink

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?

Best Answer

function Vs = fcn(Vp,Zw,N,Zl)