Simulink quesstion with using fnc block

9 次查看(过去 30 天)
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?

采纳的回答

madhan ravi
madhan ravi 2019-3-25
function Vs = fcn(Vp,Zw,N,Zl)
  7 个评论
madhan ravi
madhan ravi 2019-3-25
编辑:madhan ravi 2019-3-25
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.
Light
Light 2019-3-26
编辑:madhan ravi 2019-3-26
Okay, that was all I wanted to make sure, thanks.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by